diff options
author | Suhas Daftuar <sdaftuar@chaincode.com> | 2016-05-20 04:59:57 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@chaincode.com> | 2016-05-22 09:15:21 -0400 |
commit | bd477f4e8ba9e632f42649f2fca10d698c6b7181 (patch) | |
tree | 18410f9b3ec5dc9b0e1ad7f6a2538c40f4e1825c /src/init.cpp | |
parent | 1b87e5b5b184a0a6c683eda23b36393822b57f03 (diff) |
VerifyDB: don't check blocks that have been pruned
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 8688381ecf..a17377f6f3 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1269,8 +1269,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) uiInterface.InitMessage(_("Verifying blocks...")); if (fHavePruned && GetArg("-checkblocks", DEFAULT_CHECKBLOCKS) > MIN_BLOCKS_TO_KEEP) { - LogPrintf("Prune: pruned datadir may not have more than %d blocks; -checkblocks=%d may fail\n", - MIN_BLOCKS_TO_KEEP, GetArg("-checkblocks", DEFAULT_CHECKBLOCKS)); + LogPrintf("Prune: pruned datadir may not have more than %d blocks; only checking available blocks", + MIN_BLOCKS_TO_KEEP); } { |