utreexo icon indicating copy to clipboard operation
utreexo copied to clipboard

Split up proof.dat file into smaller files

Open kcalvinalvin opened this issue 5 years ago • 2 comments
trafficstars

For testnet3, the proof.dat file is around 13GBs. For mainnet, this is hundreds of gigabytes. It's not ideal having it as a one big file.

kcalvinalvin avatar Sep 30 '20 09:09 kcalvinalvin

Lets use the same formatting as the blk0000.dat and rev0000.dat files, so there can be a proof00000.dat, proof00001.dat, etc. They might go a little over the max file size for block.dats but should be OK.

adiabat avatar Oct 01 '20 13:10 adiabat

Also, please wait on fixing this (splitting up the proof file) until I merge (or abandon?) PR #206 , will have a bunch of annoying merge conflicts & should be easier after #206 is done.

adiabat avatar Oct 03 '20 02:10 adiabat