mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Disable proof checking for all blocks on load
We still verify the headers of the last -checkblocks blocks.
This commit is contained in:
parent
538c0f6a4a
commit
2d338957f8
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue