8
5
I spent a ton of time today trying to get Bitcoin-Qt to sync using the bootstrap.dat file and could not get it to work. I found an answer on this forum saying to use:
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -rescan -reindex
Which seems to have worked perfectly. Now I'm just wondering what exactly that command did to fix the problem?
-reindexdoes not fix corrupted files, but it will detect missing or corrupted ones. In that case the normal block download process from network will start over wherever things went wrong. – Pieter Wuille – 2019-11-16T18:24:11.607-assumevalid=0only changes whether historical scripts are validated or not (both during normal validation and during reindex). Without it, everything except scripts is still validated. – Pieter Wuille – 2019-11-16T18:25:04.450Does
-reindexfix corrupted blk files? Say I deleted a random one, will that get downloaded in the process, without having to download the full blockchain? – Giszmo – 2019-03-22T22:50:47.447Is
-assumevalid=0making sure my blk files are getting verified when running a-reindex? – Giszmo – 2019-03-22T23:02:17.197