go-ethereum/cmd
rjl493456442 6d2aeb43d5
cmd, core/state, eth, tests, trie: improve state reader (#27428)
The state availability is checked during the creation of a state reader.

-    In hash-based database, if the specified root node does not exist on disk disk, then
    the state reader won't be created and an error will be returned.

-    In path-based database, if the specified state layer is not available, then the
    state reader won't be created and an error will be returned.

This change also contains a stricter semantics regarding the `Commit` operation: once it has been performed, the trie is no longer usable, and certain operations will return an error.
2023-06-20 15:31:45 -04:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen accounts, build, mobile: remove Andriod and iOS support 2023-02-03 12:29:07 +02:00
bootnode cmd/bootnode, cmd/utils: add 'pmp:<IP>' to --nat flag description (#26381) 2023-01-16 11:21:41 +01:00
clef rpc: add limit for batch request items and response size (#26681) 2023-06-13 13:38:58 +02:00
devp2p cmd/devp2p: use slices package for sorting (#27487) 2023-06-19 08:42:49 +02:00
ethkey internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
evm cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
faucet node: remove unused error return from Attach (#27450) 2023-06-14 08:24:47 -04:00
geth cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
p2psim internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
rlpdump all: change format `0x%x` to `%#x` (#25221) 2022-07-04 11:03:32 +03:00
utils all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00