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 | ||
accountcmd_test.go | ||
accountcmd.go | ||
chaincmd.go | ||
config.go | ||
consolecmd_test.go | ||
consolecmd.go | ||
dao_test.go | ||
dbcmd.go | ||
genesis_test.go | ||
les_test.go | ||
main.go | ||
misccmd.go | ||
run_test.go | ||
snapshot.go | ||
usage.go | ||
version_check_test.go | ||
version_check.go |