mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-08 01:10:43 +02:00
Pass check level, check depth to VerifyDB()
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user