forked from cerc-io/plugeth
7de748d3f6
* 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: Felix Lange <fjl@twurst.com> Co-authored-by: Martin Holst Swende <martin@swende.se> |
||
---|---|---|
.. | ||
testdata | ||
accessors_chain_test.go | ||
accessors_chain.go | ||
accessors_indexes_test.go | ||
accessors_indexes.go | ||
accessors_metadata.go | ||
accessors_snapshot.go | ||
accessors_state.go | ||
accessors_sync.go | ||
accessors_trie.go | ||
ancient_scheme.go | ||
ancient_utils.go | ||
chain_freezer.go | ||
chain_iterator_test.go | ||
chain_iterator.go | ||
database_test.go | ||
database.go | ||
databases_64bit.go | ||
databases_non64bit.go | ||
freezer_batch.go | ||
freezer_meta_test.go | ||
freezer_meta.go | ||
freezer_resettable_test.go | ||
freezer_resettable.go | ||
freezer_table_test.go | ||
freezer_table.go | ||
freezer_test.go | ||
freezer_utils_test.go | ||
freezer_utils.go | ||
freezer.go | ||
key_length_iterator_test.go | ||
key_length_iterator.go | ||
schema.go | ||
table_test.go | ||
table.go |