From 394333a8bbb4c182a87197cc90eb241853259a6f Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 9 Jan 2014 15:03:50 -0200 Subject: [PATCH] increase the number of blocks to check at startup to force people to move to the right chain. --- src/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index e10ea0a4..8ec4ec6a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -245,7 +245,7 @@ std::string HelpMessage() strUsage += " -keypool= " + _("Set key pool size to (default: 100)") + "\n"; strUsage += " -rescan " + _("Rescan the block chain for missing wallet transactions") + "\n"; strUsage += " -salvagewallet " + _("Attempt to recover private keys from a corrupt twisterwallet.dat") + "\n"; - strUsage += " -checkblocks= " + _("How many blocks to check at startup (default: 12, 0 = all)") + "\n"; + strUsage += " -checkblocks= " + _("How many blocks to check at startup (default: 120, 0 = all)") + "\n"; strUsage += " -checklevel= " + _("How thorough the block verification is (0-4, default: 3)") + "\n"; strUsage += " -txindex " + _("Maintain a full transaction index (default: 0)") + "\n"; strUsage += " -loadblock= " + _("Imports blocks from external blk000??.dat file") + "\n"; @@ -755,7 +755,7 @@ bool AppInit2(boost::thread_group& threadGroup) uiInterface.InitMessage(_("Verifying blocks...")); if (!VerifyDB(GetArg("-checklevel", 3), - GetArg( "-checkblocks", 12))) { + GetArg( "-checkblocks", 120))) { strLoadError = _("Corrupted block database detected"); break; }