• rjl493456442's avatar
    all: implement path-based state scheme (#25963) · 7de748d3
    rjl493456442 authored
    * all: implement path-based state scheme
    
    * all: edits from review
    
    * core/rawdb, trie/triedb/pathdb: review changes
    
    * core, light, trie, eth, tests: reimplement pbss history
    
    * core, trie/triedb/pathdb: track block number in state history
    
    * trie/triedb/pathdb: add history documentation
    
    * core, trie/triedb/pathdb: address comments from Peter's review
    
    Important changes to list:
    
    - Cache trie nodes by path in clean cache
    - Remove root->id mappings when history is truncated
    
    * trie/triedb/pathdb: fallback to disk if unexpect node in clean cache
    
    * core/rawdb: fix tests
    
    * trie/triedb/pathdb: rename metrics, change clean cache key
    
    * trie/triedb: manage the clean cache inside of disk layer
    
    * trie/triedb/pathdb: move journal function
    
    * trie/triedb/path: fix tests
    
    * trie/triedb/pathdb: fix journal
    
    * trie/triedb/pathdb: fix history
    
    * trie/triedb/pathdb: try to fix tests on windows
    
    * core, trie: address comments
    
    * trie/triedb/pathdb: fix test issues
    
    ---------
    Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    7de748d3
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...