go-ethereum/core
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
..
asm all: pre-allocate memory for slices and maps, close XFN-148 (#1714) 2025-11-14 20:13:36 +05:30
bloombits all: use WaigGroup.Go() to simplify code (#1699) 2025-11-29 17:17:08 +05:30
rawdb core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
state core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
tracing eth/tracers: various fixes #30540 (#1491) 2025-09-17 09:04:38 +08:00
txpool core/txpool: improve transaction validate (#1921) 2026-01-16 15:45:07 +05:30
types core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30
vm core, consensus: use slice.Clip capacity to Simplify code (#1892) 2026-01-05 12:16:20 +05:30
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go all: implement eip-7702 set code tx #30078 (#1759) 2025-12-19 14:09:45 +04:00
block_validator.go core: use max to simplify function CalcGasLimit (#1902) 2026-01-04 17:30:47 +05:30
block_validator_test.go core: remove outdated tests #27662 (#1496) 2025-09-17 08:16:07 +08:00
blockchain.go all: change chain head markers from block to header #26777 (#1846) 2025-12-16 07:36:51 +04:00
blockchain_insert.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
blockchain_reader.go all: change chain head markers from block to header #26777 (#1846) 2025-12-16 07:36:51 +04:00
blockchain_test.go all: change chain head markers from block to header #26777 (#1846) 2025-12-16 07:36:51 +04:00
blocks.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
chain_indexer.go core: refactor read and write valid sections (#1808) 2025-12-08 15:07:33 +05:30
chain_indexer_test.go light: CHT and bloom trie indexers working in light mode (#16534) 2025-03-06 15:30:48 +08:00
chain_makers.go all: rework trc21 (#1777) 2025-11-18 11:24:56 +05:30
chain_makers_test.go all: change chain head markers from block to header #26777 (#1846) 2025-12-16 07:36:51 +04:00
dao_test.go all: change chain head markers from block to header #26777 (#1846) 2025-12-16 07:36:51 +04:00
error.go all: implement eip-7702 set code tx #30078 (#1759) 2025-12-19 14:09:45 +04:00
events.go eth/filters: remove use of event.TypeMux for pending logs (#20312) 2024-08-03 10:03:22 +08:00
evm.go core/state: move state log mechanism to a separate layer #30569 #30732 (#1775) 2025-12-16 07:33:19 +04:00
gaspool.go core, miner: log gas limit error when pack transactions (#1905) 2026-01-04 17:21:34 +05:30
gen_genesis.go all: format golang files (#1548) 2025-09-21 19:41:54 +08:00
genesis.go core :use batch to write chain config (#1760) 2025-11-14 19:59:10 +05:30
genesis_alloc_devnet.go all: format golang files (#1548) 2025-09-21 19:41:54 +08:00
genesis_alloc_mainnet.go core: tidy up genesis alloc 2025-02-19 14:15:09 +08:00
genesis_alloc_testnet.go core: tidy up genesis alloc 2025-02-19 14:15:09 +08:00
genesis_test.go core, light, params: clean genesis hash 2025-03-05 14:30:39 +08:00
headerchain.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
mkalloc.go core: use slices package for sorting #27489 #27909 (#1701) 2025-12-07 15:43:24 +05:30
sender_cacher.go all: refactor txpool into it's own package in prep for 4844 (#26038) 2024-11-01 11:36:53 +08:00
state_prefetcher.go core/types: remove message #25977 (#1322) 2025-09-09 11:23:47 +08:00
state_processor.go core, eth/tracers: support debug_traceCall for special tx, fix #1870 (#1872) 2025-12-22 12:02:05 +05:30
state_processor_test.go core, miner: log gas limit error when pack transactions (#1905) 2026-01-04 17:21:34 +05:30
state_transition.go core/types: change SetCodeTx.ChainID to uint256 #30982 (#1840) 2025-12-25 09:26:44 +05:30
token_validator.go all: rework trc21 (#1777) 2025-11-18 11:24:56 +05:30
types.go core: use atomic type #27011 2025-04-28 16:57:56 +08:00