go-ethereum/trie
Daniel Liu 6d4670a4ec
core, trie: refactor trie API #26995 (#1147)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.

The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-16 15:51:13 +05:30
..
committer.go core/state, trie: port changes from PBSS #26763 (#1137) 2025-12-22 12:03:56 +05:30
database.go core/state, trie: port changes from PBSS #26763 (#1137) 2025-12-22 12:03:56 +05:30
database_test.go core, eth, trie: abstract node scheme #25532 (#1123) 2025-11-17 11:25:08 +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 core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
hasher.go all: use WaigGroup.Go() to simplify code (#1699) 2025-11-29 17:17:08 +05:30
iterator.go core, trie: port changes from pbss #26637 (#1127) 2025-12-07 15:38:38 +05:30
iterator_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
node.go trie: improve node rlp-decoding #25357 (#1109) 2025-09-17 08:42:42 +08:00
node_enc.go trie: faster trie node encoding (#24126) 2025-04-07 16:44:32 +08:00
node_test.go all: handle err from func rlp.Encode, close XFN-127 (#1692) 2025-11-03 12:45:19 +05:30
nodeset.go core/state, trie: port changes from PBSS #26763 (#1137) 2025-12-22 12:03:56 +05:30
preimages.go core, eth, trie: rework preimage store #25287 (#1099) 2025-08-29 05:22:44 +08:00
proof.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
proof_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
secure_trie.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
secure_trie_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
stacktrie.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +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 core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
tracer.go core/state, trie: port changes from PBSS #26763 (#1137) 2025-12-22 12:03:56 +05:30
tracer_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
trie.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +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 cmd, core, eth, trie: track deleted nodes #22225 #25757 (#1120) 2025-11-12 13:32:22 +05:30
trie_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30