From 168ba993921c2c1a21cad1f03a331f7c01c67079 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 19 Jun 2013 11:32:49 -0400 Subject: Pass check level, check depth to VerifyDB() --- src/init.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index fe74cd696..ec10e627f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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; } -- cgit v1.2.3