Pass check level, check depth to VerifyDB()

This commit is contained in:
Jeff Garzik
2013-06-19 11:32:49 -04:00
parent 25dbb92860
commit 168ba99392
3 changed files with 5 additions and 5 deletions

View File

@ -757,7 +757,8 @@ bool AppInit2(boost::thread_group& threadGroup)
}
uiInterface.InitMessage(_("Verifying blocks..."));
if (!VerifyDB()) {
if (!VerifyDB(GetArg("-checklevel", 3),
GetArg( "-checkblocks", 288))) {
strLoadError = _("Corrupted block database detected");
break;
}