diff options
| author | Jeff Garzik <[email protected]> | 2013-06-19 11:32:49 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2013-06-19 11:32:49 -0400 |
| commit | 168ba993921c2c1a21cad1f03a331f7c01c67079 (patch) | |
| tree | 322cc79cf2e856618df25ecee1cea13cf3594e43 /src/init.cpp | |
| parent | Merge pull request #2760 from cozz/cozz2 (diff) | |
| download | discoin-168ba993921c2c1a21cad1f03a331f7c01c67079.tar.xz discoin-168ba993921c2c1a21cad1f03a331f7c01c67079.zip | |
Pass check level, check depth to VerifyDB()
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |