allows pruning to work during the loadblock import process.
This is a backport of core#24957
Depends on D15003
Differential D15004
prune, import: allows pruning to work during the loadblock import process PiRK on Dec 18 2023, 15:01. Authored by
Details
allows pruning to work during the loadblock import process. This is a backport of core#24957 Depends on D15003 Backup the eCash data dir, create a bootstrap.dat file by following the instructions in contrib/linearize, then delete the content of the data dir, comment out config options that are incompatible with pruning (txindex=1) then Check while the node is importing the blocks from bootstrap.dat that the new data dir does not grow significantly larger than 550 MB (I saw it oscillates between that target and 800 MB, while the bootstrap.dat file was 21 GB of blocks 0--313000) ninja all check-all
Diff Detail
Event TimelineComment Actions I didn't wait long enough, now the size is 1.3 GB around block 275000. I need to check if this is normal behavior when pruning. Comment Actions The blocks dir stayed below the prune target. The extra 700MB is for the chainstate data. |