Skip to content

Commit 2d33895

Browse files
committed
Disable proof checking for all blocks on load
We still verify the headers of the last -checkblocks blocks.
1 parent 538c0f6 commit 2d33895

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/txdb.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
225225
pindexNew->nStatus = diskindex.nStatus;
226226
pindexNew->nTx = diskindex.nTx;
227227

228-
if (!CheckProof(pindexNew->GetBlockHeader()))
229-
return error("LoadBlockIndex() : CheckProof failed: %s", pindexNew->ToString());
230-
231228
pcursor->Next();
232229
} else {
233230
break; // if shutdown requested or finished loading block index

0 commit comments

Comments
 (0)