• rjl493456442's avatar
    core/rawdb: untie freezer and ancient chain data (#24684) · 1941c5e6
    rjl493456442 authored
    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).
    1941c5e6
Name
Last commit
Last update
..
abidump Loading commit data...
abigen Loading commit data...
bootnode Loading commit data...
checkpoint-admin Loading commit data...
clef Loading commit data...
devp2p Loading commit data...
ethkey Loading commit data...
evm Loading commit data...
faucet Loading commit data...
geth Loading commit data...
p2psim Loading commit data...
puppeth Loading commit data...
rlpdump Loading commit data...
utils Loading commit data...