Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rjl493456442
d3c4466edd
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
...
This pull request defines a gentrie for snap sync purpose.
The stackTrie is used to generate the merkle tree nodes upon receiving a state batch. Several additional options have been added into stackTrie to handle incomplete states (either missing states before or after).
In this pull request, these options have been relocated from stackTrie to genTrie, which serves as a wrapper for stackTrie specifically for snap sync purposes.
Further, the logic for managing incomplete state has been enhanced in this change. Originally, there are two cases handled:
- boundary node filtering
- internal (covered by extension node) node clearing
This changes adds one more:
- Clearing leftover nodes on the boundaries.
This feature is necessary if there are leftover trie nodes in database, otherwise node inconsistency may break the state healing.
7 months ago
..
trienode
cmd, core, trie: verkle-capable `geth init` ( #28270 )
1 year ago
triestate
core/state, trie/triedb/pathdb: remove storage incomplete flag ( #28940 )
8 months ago
utils
trie/utils: change Div+Mod to DivMod ( #29413 )
7 months ago
committer.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
database_test.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
encoding.go
trie: reduce allocs in recHash ( #27770 )
1 year ago
encoding_test.go
trie: reduce allocs in recHash ( #27770 )
1 year ago
errors.go
cmd, core/state, eth, tests, trie: improve state reader ( #27428 )
1 year ago
hasher.go
trie: spelling - fix comments in hasher ( #28507 )
1 year ago
iterator.go
ethdb/memorydb, trie: reduced allocations ( #28473 )
1 year ago
iterator_test.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
node.go
core, trie: rework trie database ( #26813 )
2 years ago
node_enc.go
core, trie: rework trie database ( #26813 )
2 years ago
node_test.go
trie: improve node rlp decoding performance ( #25357 )
2 years ago
proof.go
all: fix typos in comments ( #28881 )
9 months ago
proof_test.go
all: fix mismatched names in comments ( #29348 )
8 months ago
secure_trie.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
secure_trie_test.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
stacktrie.go
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
7 months ago
stacktrie_fuzzer_test.go
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
7 months ago
stacktrie_test.go
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
7 months ago
sync.go
trie: remove inconsistent trie nodes during sync in path mode ( #28595 )
11 months ago
sync_test.go
trie: using maps.Clone ( #29419 )
7 months ago
tracer.go
all: implement path-based state scheme ( #25963 )
1 year ago
tracer_test.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
trie.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
trie_id.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
trie_reader.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
trie_test.go
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
7 months ago
verkle.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago
verkle_test.go
all: remove the dependency from trie to triedb ( #28824 )
9 months ago