• gary rong's avatar
    core: improve snapshot journal recovery (#21594) · b63e3c37
    gary rong authored
    * core/state/snapshot: introduce snapshot journal version
    
    * core: update the disk layer in an atomic way
    
    * core: persist the disk layer generator periodically
    
    * core/state/snapshot: improve logging
    
    * core/state/snapshot: forcibly ensure the legacy snapshot is matched
    
    * core/state/snapshot: add debug logs
    
    * core, tests: fix tests and special recovery case
    
    * core: polish
    
    * core: add more blockchain tests for snapshot recovery
    
    * core/state: fix comment
    
    * core: add recovery flag for snapshot
    
    * core: add restart after start-after-crash tests
    
    * core/rawdb: fix imports
    
    * core: fix tests
    
    * core: remove log
    
    * core/state/snapshot: fix snapshot
    
    * core: avoid callbacks in SetHead
    
    * core: fix setHead cornercase where the threshold root has state
    
    * core: small docs for the test cases
    Co-authored-by: 's avatarPéter Szilágyi <peterke@gmail.com>
    b63e3c37
Name
Last commit
Last update
..
fuzzers Loading commit data...
solidity Loading commit data...
testdata @ 7497b116 Loading commit data...
block_test.go Loading commit data...
block_test_util.go Loading commit data...
difficulty_test.go Loading commit data...
difficulty_test_util.go Loading commit data...
gen_btheader.go Loading commit data...
gen_difficultytest.go Loading commit data...
gen_stenv.go Loading commit data...
gen_sttransaction.go Loading commit data...
gen_vmexec.go Loading commit data...
init.go Loading commit data...
init_test.go Loading commit data...
rlp_test.go Loading commit data...
rlp_test_util.go Loading commit data...
state_test.go Loading commit data...
state_test_util.go Loading commit data...
transaction_test.go Loading commit data...
transaction_test_util.go Loading commit data...
vm_test.go Loading commit data...
vm_test_util.go Loading commit data...