forked from cerc-io/plugeth
cca94792a4
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> |
||
---|---|---|
.. | ||
testutil | ||
triedb | ||
trienode | ||
triestate | ||
utils | ||
committer.go | ||
database_test.go | ||
database.go | ||
encoding_test.go | ||
encoding.go | ||
errors.go | ||
hasher.go | ||
iterator_test.go | ||
iterator.go | ||
node_enc.go | ||
node_test.go | ||
node.go | ||
preimages.go | ||
proof_test.go | ||
proof.go | ||
secure_trie_test.go | ||
secure_trie.go | ||
stacktrie_fuzzer_test.go | ||
stacktrie_test.go | ||
stacktrie.go | ||
sync_test.go | ||
sync.go | ||
tracer_test.go | ||
tracer.go | ||
trie_id.go | ||
trie_reader.go | ||
trie_test.go | ||
trie.go | ||
verkle_test.go | ||
verkle.go |