message: Remove support for bool arg -checklevel.
diff: @@ -309,7 +309,6 @@ std::string HelpMessage(HelpMessageMode mode)
  strUsage += HelpMessageOpt("-alerts", strprintf(_("Receive and display P2P network alerts (default: %u)"), DEFAULT_ALERTS));
  strUsage += HelpMessageOpt("-blocknotify=<cmd>", _("Execute command when the best block changes (%s in cmd is replaced by block hash)"));
  strUsage += HelpMessageOpt("-checkblocks=<n>", strprintf(_("How many blocks to check at startup (default: %u, 0 = all)"), 500));
  - strUsage += HelpMessageOpt("-checklevel=<n>", strprintf(_("How thorough the block verification of -checkblocks is (0-4, default: %u)"), 3));
  strUsage += HelpMessageOpt("-conf=<file>", strprintf(_("Specify configuration file (default: %s)"), "pivx.conf"));
  if (mode == HMM_BITCOIND) {
  #if !defined(WIN32)
  @@ -792,6 +791,9 @@ bool AppInit2(boost::thread_group& threadGroup)
  // Check for -tor - as this is a privacy risk to continue, exit here
  if (GetBoolArg("-tor", false))
  return InitError(_("Error: Unsupported argument -tor found, use -onion."));
  + // Check level must be 4 for zerocoin checks
  + if (mapArgs.count("-checklevel"))
  + return InitError(_("Error: Unsupported argument -checklevel found. Checklevel must be level 4."));
  if (GetBoolArg("-benchmark", false))
  InitWarning(_("Warning: Unsupported argument -benchmark ignored, use -debug=bench."));
  @@ -1252,6 +1254,7 @@ bool AppInit2(boost::thread_group& threadGroup)
  uiInterface.InitMessage(_("Loading sporks..."));
  LoadSporksFromDB();
  + uiInterface.InitMessage(_("Loading block index..."));
  if (!LoadBlockIndex()) {
  strLoadError = _("Error loading block database");
  break;
  @@ -1328,9 +1331,12 @@ bool AppInit2(boost::thread_group& threadGroup)
  CAccumulators::getInstance().ClearAccCheckpointsNoDB();
  uiInterface.InitMessage(_("Verifying blocks..."));
  +
  + // Flag sent to validation code to let it know it can skip certain checks
  fVerifyingBlocks = true;
  - if (!CVerifyDB().VerifyDB(pcoinsdbview, GetArg("-checklevel", 4), // Zerocoin must check at level 4
  - GetArg("-checkblocks", 100))) {
  +
  + // Zerocoin must check at level 4
  + if (!CVerifyDB().VerifyDB(pcoinsdbview, 4, GetArg("-checkblocks", 100))) {
  strLoadError = _("Corrupted block database detected");
  fVerifyingBlocks = false;
  break;
  