go-ethereum/trie
Daniel Liu a8b841c0a0
trie: implement NodeBlob API for trie iterator #24391 (#1084)
This functionality is needed in new path-based storage scheme, but
can be implemented in a seperate PR though.

When an account is deleted, then all the storage slots should be
nuked out from the disk as well. In hash-based storage scheme they
are still left in the disk but in new scheme, they will be iterated
and marked as deleted.

But why the NodeBlob API is needed in this scenario? Because when
the node is marked deleted, the previous value is also required to
be recorded to construct the reverse diff.

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2025-08-20 16:28:58 +08:00
..
committer.go core, trie: add state metrics #23433 (#1071) 2025-08-04 11:19:42 +08:00
database.go trie: remove the duplicate write for preimage #23001 (#1068) 2025-07-28 16:50:39 +08:00
database_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
encoding.go trie: Derivesha with stacktrie (#21407) 2025-04-07 16:44:32 +08:00
encoding_test.go trie: remove deprecated uses of math.rand (#1136) 2025-06-25 16:57:23 +08:00
errors.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
hasher.go all: create global hasher pool #31769 (#1233) 2025-08-20 15:11:09 +08:00
iterator.go trie: implement NodeBlob API for trie iterator #24391 (#1084) 2025-08-20 16:28:58 +08:00
iterator_test.go trie: implement NodeBlob API for trie iterator #24391 (#1084) 2025-08-20 16:28:58 +08:00
node.go trie: rename NodeFlag to nodeFlag (#1049) 2025-05-26 15:18:47 +08:00
node_enc.go trie: faster trie node encoding (#24126) 2025-04-07 16:44:32 +08:00
node_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
proof.go trie: fix range prover #24266 (#1082) 2025-08-20 14:54:24 +08:00
proof_test.go trie: test for edgecase in VerifyRangeProof #24257 (#1083) 2025-08-20 15:04:35 +08:00
secure_trie.go core/state: move state account to core/types + abstracted write account to trie #23567 (#1072) 2025-08-08 09:13:34 +08:00
secure_trie_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
stacktrie.go trie: fix spelling mistakes (#1122) 2025-06-20 16:29:57 +08:00
stacktrie_test.go trie: more tests for stacktrie (#23936) 2025-04-07 16:44:32 +08:00
sync.go core, trie: use db.has over db.get where possible #24117 (#1078) 2025-08-20 14:51:32 +08:00
sync_test.go trie: remove the sync bloom, used by fast sync #24047 (#1077) 2025-08-08 09:31:26 +08:00
trie.go trie: implement NodeBlob API for trie iterator #24391 (#1084) 2025-08-20 16:28:58 +08:00
trie_test.go core/state: move state account to core/types + abstracted write account to trie #23567 (#1072) 2025-08-08 09:13:34 +08:00