go-ethereum/triedb
Guillaume Ballet 5119945e25 trie, cmd/geth: add archive verify command, Walk(), and archiver improvements
Add Trie.Walk() for exhaustive traversal that resolves expired nodes
with hash verification. Add `archive verify` subcommand that walks
the full state (account + storage tries) to validate all archived
data can be correctly resurrected.

Delete both the journal KV entry and file after archiving to force
geth to restart with a bare disk layer, rewinding the chain head to
the persistent disk state and re-executing blocks.

Also adds markSubtreeDirty() to resolveExpiredNodeData() so that all
nodes in a resolved expired subtree are captured in the NodeSet during
commit — preventing them from being lost between diff layers and the
raw DB.
2026-06-11 13:02:02 +02:00
..
database trie: optimize memory allocation (#30932) 2025-03-25 14:59:44 +01:00
hashdb core, miner, tests: introduce codedb and simplify cachingDB (#33816) 2026-03-10 08:29:21 +01:00
internal triedb: reconcile stale storage roots in GenerateTrie, add cancel support (#34807) 2026-06-03 15:08:09 +08:00
pathdb trie, cmd/geth: add archive verify command, Walk(), and archiver improvements 2026-06-11 13:02:02 +02:00
database.go trie, cmd/geth: add archive verify command, Walk(), and archiver improvements 2026-06-11 13:02:02 +02:00
generate.go triedb: reconcile stale storage roots in GenerateTrie, add cancel support (#34807) 2026-06-03 15:08:09 +08:00
generate_test.go triedb: reconcile stale storage roots in GenerateTrie, add cancel support (#34807) 2026-06-03 15:08:09 +08:00
history.go cmd, triedb: implement history inspection (#29267) 2024-03-22 20:12:10 +08:00
preimages.go all: remove the dependency from trie to triedb (#28824) 2024-02-13 14:49:53 +01:00
preimages_test.go triedb: add test suite for preimage store (#31574) 2025-05-05 14:01:53 +08:00
states.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00