mirror of https://github.com/status-im/op-geth.git
1941c5e6c9
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). |
||
---|---|---|
.. | ||
testdata | ||
accessors_chain.go | ||
accessors_chain_test.go | ||
accessors_indexes.go | ||
accessors_indexes_test.go | ||
accessors_metadata.go | ||
accessors_snapshot.go | ||
accessors_state.go | ||
accessors_sync.go | ||
chain_freezer.go | ||
chain_iterator.go | ||
chain_iterator_test.go | ||
database.go | ||
database_test.go | ||
freezer.go | ||
freezer_batch.go | ||
freezer_meta.go | ||
freezer_meta_test.go | ||
freezer_table.go | ||
freezer_table_test.go | ||
freezer_test.go | ||
freezer_utils.go | ||
freezer_utils_test.go | ||
key_length_iterator.go | ||
key_length_iterator_test.go | ||
schema.go | ||
table.go | ||
table_test.go |