Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rjl493456442
1941c5e6c9
core/rawdb: untie freezer and ancient chain data ( #24684 )
...
Previously freezer has only been used for storing ancient chain data, while obviously it can be used more. This PR unties the chain data and freezer, keep the minimal freezer structure and move all other logic (like incrementally freezing block data) into a separate structure called ChainFreezer.
This PR also extends the database interface by adding a new ancient store function AncientDatadir which can return the root directory of ancient store. The ancient root directory can be used when we want to open some other ancient-stores (e.g. reverse diff freezer).
3 years ago
..
testdata
core/rawdb: avoid unnecessary receipt processing for log filtering ( #23147 )
3 years ago
accessors_chain.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
accessors_chain_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
accessors_indexes.go
core/rawdb: fix logs to print block number, not address ( #23328 )
3 years ago
accessors_indexes_test.go
core/rawdb: single point of maintenance for writing and deleting tx lookup indexes ( #21480 )
4 years ago
accessors_metadata.go
core: store genesis allocation and recommit them if necessary ( #24460 )
3 years ago
accessors_snapshot.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
accessors_state.go
core/rawdb: add HasCode, HashTrieNode and use them where possible ( #24454 )
3 years ago
accessors_sync.go
eth/downloader: implement beacon sync ( #23982 )
3 years ago
chain_freezer.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
chain_iterator.go
core, core/rawdb: fix transaction indexing ( #24024 )
3 years ago
chain_iterator_test.go
core/rawdb: fix transaction indexing/unindexing hashing error ( #22457 )
4 years ago
database.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
database_test.go
eth/protocols/snap: generate storage trie from full dirty snap data ( #22668 )
4 years ago
freezer.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
freezer_batch.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
freezer_meta.go
core/rawdb, cmd, ethdb, eth: implement freezer tail deletion ( #23954 )
3 years ago
freezer_meta_test.go
core/rawdb, cmd, ethdb, eth: implement freezer tail deletion ( #23954 )
3 years ago
freezer_table.go
fix typo ( #24731 )
3 years ago
freezer_table_test.go
core/rawdb, cmd, ethdb, eth: implement freezer tail deletion ( #23954 )
3 years ago
freezer_test.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
freezer_utils.go
core/rawdb, cmd, ethdb, eth: implement freezer tail deletion ( #23954 )
3 years ago
freezer_utils_test.go
core/rawdb, cmd, ethdb, eth: implement freezer tail deletion ( #23954 )
3 years ago
key_length_iterator.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
key_length_iterator_test.go
core/rawdb: add specified key length iterator ( #24535 )
3 years ago
schema.go
core: store genesis allocation and recommit them if necessary ( #24460 )
3 years ago
table.go
core/rawdb: untie freezer and ancient chain data ( #24684 )
3 years ago
table_test.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago