• rjl493456442's avatar
    core/state: implement fast storage deletion (#27955) · 3ff6b3c3
    rjl493456442 authored
    This changes implements faster post-selfdestruct iteration of storage slots for deletion, by using snapshot-storage+stacktrie to recover the trienodes to be deleted. This mechanism is only implemented for path-based schema. 
    
    For hash-based schema, the entire post-selfdestruct storage iteration is skipped, with this change, since hash-based does not actually perform deletion anyway. 
    
    ---------
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    3ff6b3c3
Name
Last commit
Last update
..
pruner Loading commit data...
snapshot Loading commit data...
access_list.go Loading commit data...
database.go Loading commit data...
dump.go Loading commit data...
iterator.go Loading commit data...
iterator_test.go Loading commit data...
journal.go Loading commit data...
metrics.go Loading commit data...
state_object.go Loading commit data...
state_object_test.go Loading commit data...
state_test.go Loading commit data...
statedb.go Loading commit data...
statedb_fuzz_test.go Loading commit data...
statedb_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...
transient_storage.go Loading commit data...
trie_prefetcher.go Loading commit data...
trie_prefetcher_test.go Loading commit data...