go-ethereum/trie
Daniel Liu d749d54ea5
feate(core, trie): add UpdateContractCode to the Trie interface #27476 (#1167)
Verkle trees store the code inside the trie. This PR changes the interface to pass the code, as well as the dirty flag to tell the trie package if the code is dirty and needs to be updated. This is a no-op for the MPT and the odr trie.

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
2026-02-05 11:43:04 +05:30
..
triedb/hashdb perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
trienode trie: update func ForEachWithOrder #27496 #27909 (#1163) 2026-01-29 11:28:36 +05:30
committer.go all: port boring changes from pbss #27176 (#1158) 2026-01-26 11:21:46 +05:30
database_test.go all: port boring changes from pbss #27176 (#1158) 2026-01-26 11:21:46 +05:30
database_wrap.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
encoding.go trie: Derivesha with stacktrie (#21407) 2025-04-07 16:44:32 +08:00
encoding_test.go core, trie: port changes from pbss #26637 (#1127) 2025-12-07 15:38:38 +05:30
errors.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
hasher.go all: use WaigGroup.Go() to simplify code (#1699) 2025-11-29 17:17:08 +05:30
iterator.go trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +05:30
iterator_test.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
node.go trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +05:30
node_enc.go trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +05:30
node_test.go all: handle err from func rlp.Encode, close XFN-127 (#1692) 2025-11-03 12:45:19 +05:30
preimages.go core, eth, trie: rework preimage store #25287 (#1099) 2025-08-29 05:22:44 +08:00
proof.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
proof_test.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
secure_trie.go feate(core, trie): add UpdateContractCode to the Trie interface #27476 (#1167) 2026-02-05 11:43:04 +05:30
secure_trie_test.go trie: new empty trie with types.EmptyRootHash instead of null #27230 (#1160) 2026-01-26 18:04:14 +05:30
stacktrie.go trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +05:30
stacktrie_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
sync.go core, trie: prepare for path-based trie storage #26603 (#1126) 2025-11-18 11:20:00 +05:30
sync_test.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
tracer.go all: port boring changes from pbss #27176 (#1158) 2026-01-26 11:21:46 +05:30
tracer_test.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
trie.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
trie_id.go cmd, core, eth, trie: track deleted nodes #22225 #25757 (#1120) 2025-11-12 13:32:22 +05:30
trie_reader.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30
trie_test.go perf: improve state reader with error handling and committed flag #27428 (#1166) 2026-02-03 20:55:53 +05:30