go-ethereum/core
Daniel Liu 152e3d9923
core/state: return error when storage trie can't be opened #26350 (#1216)
This changes the StorageTrie method to return an error when the trie
is not available. It used to return an 'empty trie' in this case, but that's
not possible anymore under PBSS.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-08-26 15:31:00 +08:00
..
asm all: use strings.EqualFold for string comparison #24890 (#1134) 2025-06-23 16:00:32 +08:00
bloombits fix: replace all time.after with the time.newtimer (#400) 2024-01-27 21:01:24 +11:00
rawdb all: snapshot dump + unify with trie dump #22795 (#1205) 2025-08-22 16:39:28 +08:00
state core/state: return error when storage trie can't be opened #26350 (#1216) 2025-08-26 15:31:00 +08:00
txpool all: use common.FileExist for checking file existence #24748 (#1212) 2025-07-11 10:42:51 +08:00
types all: introduce trie owner notion #24750 (#1090) 2025-08-22 16:37:39 +08:00
vm core/vm: make time field use uint64 #26474 (#1319) 2025-08-20 15:22:06 +08:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
block_validator.go core: show db error-info in case of mismatched hash root #26870 (#1220) 2025-08-04 11:51:47 +08:00
block_validator_test.go all: remove ethash pow 27178 (#1378) 2025-08-26 11:54:01 +08:00
blockchain.go core: reset txpool on sethead #26392 (#1373) 2025-08-22 16:45:41 +08:00
blockchain_insert.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
blockchain_test.go eth: skip VerifyHeader in traceBlock to fix #1185 (#1265) 2025-07-26 18:18:50 +08:00
blocks.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
chain_indexer.go core: use atomic type #27011 2025-04-28 16:57:56 +08:00
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: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
chain_makers_test.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
dao_test.go core: improve commit genesis 2025-03-20 14:15:09 +08:00
error.go all: improve EstimateGas API (#20830) 2024-12-21 14:35:44 +08: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/vm: make time field use uint64 #26474 (#1319) 2025-08-20 15:22:06 +08:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis.go core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
genesis.go core: fix deprecation comment for GenesisAccount #29218 (#1323) 2025-08-08 10:35:58 +08:00
genesis_alloc_devnet.go core: tidy up genesis alloc 2025-02-19 14:15:09 +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 accounts, cmd/geth, core: close opened files (#29598) 2025-01-24 16:54:12 +08:00
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: use atomic type #27011 2025-04-28 16:57:56 +08:00
state_processor.go core: fill blockNumber in logs #26345 (#1215) 2025-07-11 10:53:48 +08:00
state_processor_test.go all: simplify timestamps to uint64 #19372 (#1318) 2025-08-08 10:33:37 +08:00
state_transition.go core/vm: set basefee to 0 internally on eth_call #28470 (#1238) 2025-07-17 17:54:23 +08:00
token_validator.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2025-01-24 16:18:30 +08:00
types.go core: use atomic type #27011 2025-04-28 16:57:56 +08:00