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> |
||
---|---|---|
.. | ||
database_test.go | ||
database.go | ||
difflayer_test.go | ||
difflayer.go | ||
disklayer.go | ||
errors.go | ||
history_test.go | ||
history.go | ||
journal.go | ||
layertree.go | ||
metrics.go | ||
nodebuffer.go | ||
testutils.go |