Check only 288 blocks at startup by default

This commit is contained in:
Pieter Wuille
2013-01-26 18:57:07 +01:00
parent 71eccdeaff
commit 56869fc07c
2 changed files with 2 additions and 2 deletions

View File

@@ -2608,7 +2608,7 @@ bool VerifyDB() {
// Verify blocks in the best chain
int nCheckLevel = GetArg("-checklevel", 3);
int nCheckDepth = GetArg( "-checkblocks", 2500);
int nCheckDepth = GetArg( "-checkblocks", 288);
if (nCheckDepth == 0)
nCheckDepth = 1000000000; // suffices until the year 19000
if (nCheckDepth > nBestHeight)