trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

download of ts.bin (and names) should disallow control+c

Open tjayrush opened this issue 3 years ago • 0 comments

Do this:

New install (notice that ts.bin is not present in $indexPath/mainnet)

Do

chifra status --terse

Notice it will start downloading the ts.bin file from Unchained Index IPFS location. Hit Control+C.

Notice we now have a partial file.

I much better way would be to have a value stored in the smart contract that tells the downloader what block is in the ts.bin, only download if later than the one on disc, disallow control+c during download or at least ensure that it downloaded a complete file (i.e. if the file is not complete, fix it), but only fix it if it's later than the original block number presently on the disc.

tjayrush avatar Sep 18 '22 16:09 tjayrush