• rjl493456442's avatar
    cmd, core/state, eth, tests, trie: improve state reader (#27428) · 6d2aeb43
    rjl493456442 authored
    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. 
    6d2aeb43
Name
Last commit
Last update
..
abi Loading commit data...
bitutil Loading commit data...
bls12381 Loading commit data...
bn256 Loading commit data...
difficulty Loading commit data...
keystore Loading commit data...
les Loading commit data...
rangeproof Loading commit data...
rlp Loading commit data...
runtime Loading commit data...
secp256k1 Loading commit data...
snap Loading commit data...
stacktrie Loading commit data...
trie Loading commit data...
txfetcher Loading commit data...
vflux Loading commit data...
README.md Loading commit data...