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
cca94792a4
core, cmd, trie: fix the condition of pathdb initialization ( #28718 )
...
Original problem was caused by #28595 , where we made it so that as soon as we start to sync, the root of the disk layer is deleted. That is not wrong per se, but another part of the code uses the "presence of the root" as an init-check for the pathdb. And, since the init-check now failed, the code tried to re-initialize it which failed since a sync was already ongoing.
The total impact being: after a state-sync has begun, if the node for some reason is is shut down, it will refuse to start up again, with the error message: `Fatal: Failed to register the Ethereum service: waiting for sync.`.
This change also modifies how `geth removedb` works, so that the user is prompted for two things: `state data` and `ancient chain`. The former includes both the chaindb aswell as any state history stored in ancients.
---------
Co-authored-by: Martin HS <martin@swende.se>
11 months ago
..
testutil
all: implement path-based state scheme ( #25963 )
1 year ago
triedb
core, cmd, trie: fix the condition of pathdb initialization ( #28718 )
11 months ago
trienode
cmd, core, trie: verkle-capable `geth init` ( #28270 )
12 months ago
triestate
all: activate pbss as experimental feature ( #26274 )
1 year ago
utils
cmd, core, trie: verkle-capable `geth init` ( #28270 )
12 months ago
committer.go
all: implement path-based state scheme ( #25963 )
1 year ago
database.go
trie/triedb/hashdb: take lock around access to dirties cache ( #28542 )
11 months ago
database_test.go
core, trie: cleanup trie database ( #28062 )
1 year 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 )
12 months ago
iterator.go
ethdb/memorydb, trie: reduced allocations ( #28473 )
12 months ago
iterator_test.go
ethdb/memorydb, trie: reduced allocations ( #28473 )
12 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
preimages.go
core, trie, eth, cmd: rework preimage store ( #25287 )
2 years ago
proof.go
trie: make rhs-proof align with last key in range proofs ( #28311 )
1 year ago
proof_test.go
trie: make rhs-proof align with last key in range proofs ( #28311 )
1 year ago
secure_trie.go
trie, core/state: revert error removal in (*state.Trie).Commit ( #27544 )
1 year ago
secure_trie_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
stacktrie.go
trie: use explicit errors in stacktrie (instead of panic) ( #28361 )
1 year ago
stacktrie_fuzzer_test.go
tests/fuzzers: move fuzzers into native packages ( #28467 )
12 months ago
stacktrie_test.go
trie: use explicit errors in stacktrie (instead of panic) ( #28361 )
1 year ago
sync.go
trie: remove inconsistent trie nodes during sync in path mode ( #28595 )
11 months ago
sync_test.go
trie: remove inconsistent trie nodes during sync in path mode ( #28595 )
11 months ago
tracer.go
all: implement path-based state scheme ( #25963 )
1 year ago
tracer_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
trie.go
all: implement path-based state scheme ( #25963 )
1 year ago
trie_id.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
trie_reader.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
trie_test.go
trie: fix random test generator early terminate ( #28590 )
12 months ago
verkle.go
cmd, core, trie: verkle-capable `geth init` ( #28270 )
12 months ago
verkle_test.go
eth/catalyst, eth/downloader: expose more sync information ( #28584 )
11 months ago