go-ethereum/core/rawdb
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
..
accessors_chain.go core: use slices package for sorting #27489 #27909 (#1701) 2025-12-07 15:43:24 +05:30
accessors_chain_test.go core: persist bad blocks #21827 #27489 (#1771) 2025-11-15 16:51:21 +05:30
accessors_indexes.go core: lookup txs by block number instead of block hash (#19431) 2025-01-24 15:52:43 +08:00
accessors_indexes_test.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
accessors_metadata.go core/rawdb: refactor func WriteChainConfig (#1805) 2025-12-08 13:00:25 +05:30
accessors_state.go core, trie: prepare for path-based trie storage #26603 (#1126) 2025-11-18 11:20:00 +05:30
accessors_trie.go core, trie: prepare for path-based trie storage #26603 (#1126) 2025-11-18 11:20:00 +05:30
accessors_xdc.go contracts, core/rawdb: refactor read and write randomizeKey (#1806) 2025-12-09 11:01:37 +05:30
database.go core/rawdb: remove unused freezerdb (#1748) 2025-11-17 11:15:06 +05:30
freezer_table.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
schema.go contracts, core/rawdb: refactor read and write randomizeKey (#1806) 2025-12-09 11:01:37 +05:30
table.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher #24392 (#1085) 2025-06-17 13:26:50 +08:00
table_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30