Disable proof checking for all blocks on load

We still verify the headers of the last -checkblocks blocks.
This commit is contained in:
Pieter Wuille 2015-08-27 00:30:20 +02:00
parent 538c0f6a4a
commit 2d338957f8

View file

@ -225,9 +225,6 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
pindexNew->nStatus = diskindex.nStatus;
pindexNew->nTx = diskindex.nTx;
if (!CheckProof(pindexNew->GetBlockHeader()))
return error("LoadBlockIndex() : CheckProof failed: %s", pindexNew->ToString());
pcursor->Next();
} else {
break; // if shutdown requested or finished loading block index