go-ethereum/ethdb
rjl493456442 e206d3f897
trie: remove inconsistent trie nodes during sync in path mode (#28595)
This fixes a database corruption issue that could occur during state healing.
When sync is aborted while certain modifications were already committed, and a
reorg occurs, the database would contain incorrect trie nodes stored by path.
These nodes need to detected/deleted in order to obtain a complete and fully correct state
after state healing.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-08 14:28:23 +01:00
..
dbtest trie: remove inconsistent trie nodes during sync in path mode (#28595) 2023-12-08 14:28:23 +01:00
leveldb ethdb, internal/ethapi: support exposing Pebble stats too, beside LevelDB (#28224) 2023-09-28 22:27:21 +03:00
memorydb ethdb/memorydb, trie: reduced allocations (#28473) 2023-11-15 16:20:34 +01:00
pebble ethdb/pebble: remove a dependency (#28627) 2023-12-06 11:41:04 +01:00
remotedb all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
batch.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher (#24392) 2022-02-15 15:15:13 +02:00
database.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
iterator.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
snapshot.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00