go-ethereum/trie
Daniel Liu 1b7d4afdd3
trie: add node type common package #27160 (#1150)
* trie: add node type common package

In trie/types package, a few node wrappers are defined, which will be used
in both trie package, trie/snap package, etc. Therefore, a standalone common
package is created to put these stuffs.

* trie: rename trie/types to trie/trienode

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-21 10:47:53 +05:30
..
trienode trie: add node type common package #27160 (#1150) 2026-01-21 10:47:53 +05:30
committer.go trie: add node type common package #27160 (#1150) 2026-01-21 10:47:53 +05:30
database.go trie: add node type common package #27160 (#1150) 2026-01-21 10:47:53 +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 trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +05:30
iterator_test.go all: expose block number information to statedb #27753 (#1936) 2026-01-16 15:55:04 +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
nodeset.go trie: add node type common package #27160 (#1150) 2026-01-21 10:47:53 +05:30
preimages.go core, eth, trie: rework preimage store #25287 (#1099) 2025-08-29 05:22:44 +08:00
proof.go trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +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 all: expose block number information to statedb #27753 (#1936) 2026-01-16 15:55:04 +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 all: expose block number information to statedb #27753 (#1936) 2026-01-16 15:55:04 +05:30
tracer.go trie: add node type common package #27160 (#1150) 2026-01-21 10:47:53 +05:30
tracer_test.go all: expose block number information to statedb #27753 (#1936) 2026-01-16 15:55:04 +05:30
trie.go trie: add node type common package #27160 (#1150) 2026-01-21 10:47: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 trie: rework trie database #26813 (#1149) 2026-01-19 11:23:51 +05:30
trie_test.go trie: add node type common package #27160 (#1150) 2026-01-21 10:47:53 +05:30