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
59f7b289c3
cmd, core, eth, graphql, trie: no persisted clean trie cache file ( #27525 )
...
The clean trie cache is persisted periodically, therefore Geth can
quickly warmup the cache in next restart.
However it will reduce the robustness of system. The assumption is
held in Geth that if the parent trie node is present, then the entire
sub-trie associated with the parent are all prensent.
Imagine the scenario that Geth rewinds itself to a past block and
restart, but Geth finds the root node of "future state" in clean
cache then regard this state is present in disk, while is not in fact.
Another example is offline pruning tool. Whenever an offline pruning
is performed, the clean cache file has to be removed to aviod hitting
the root node of "deleted states" in clean cache.
All in all, compare with the minor performance gain, system robustness
is something we care more.
1 year ago
..
triedb/ hashdb
cmd, core/state, eth, tests, trie: improve state reader ( #27428 )
1 year ago
trienode
tests, trie: use slices package for sorting ( #27496 )
1 year ago
committer.go
all: port boring changes from pbss ( #27176 )
2 years ago
database.go
cmd, core, eth, graphql, trie: no persisted clean trie cache file ( #27525 )
1 year ago
database_test.go
all: port boring changes from pbss ( #27176 )
2 years ago
encoding.go
trie: use stacktrie for Derivesha operation ( #21407 )
4 years ago
encoding_test.go
all: remove deprecated uses of math.rand ( #26710 )
2 years ago
errors.go
cmd, core/state, eth, tests, trie: improve state reader ( #27428 )
1 year ago
hasher.go
build: upgrade to go 1.19 ( #25726 )
2 years ago
iterator.go
core, trie: rework trie database ( #26813 )
2 years ago
iterator_test.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year 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
preimages.go
core, trie, eth, cmd: rework preimage store ( #25287 )
2 years ago
proof.go
cmd, core/state, eth, tests, trie: improve state reader ( #27428 )
1 year ago
proof_test.go
cmd, core/state, eth, tests, trie: improve state reader ( #27428 )
1 year ago
secure_trie.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago
secure_trie_test.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago
stacktrie.go
core, trie: rework trie database ( #26813 )
2 years ago
stacktrie_test.go
all: refactor trie API ( #26995 )
2 years ago
sync.go
all: use unified emptyRootHash and emptyCodeHash ( #26718 )
2 years ago
sync_test.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago
tracer.go
all: port boring changes from pbss ( #27176 )
2 years ago
tracer_test.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago
trie.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago
trie_id.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
trie_reader.go
cmd, core/state, eth, tests, trie: improve state reader ( #27428 )
1 year ago
trie_test.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago