nNodeLifespan = GetArg("-addrlifespan", 7);
fStakeUsePooledKeys = GetBoolArg("-stakepooledkeys", false);
- if (GetBoolArg("-zerotest", false))
- {
- Test_RunAllTests();
- }
-
CheckpointsMode = Checkpoints::STRICT;
std::string strCpMode = GetArg("-cppolicy", "strict");
if (!LoadBlockIndex())
return InitError(_("Error loading blkindex.dat"));
+
// as LoadBlockIndex can take several minutes, it's possible the user
// requested to kill bitcoin-qt during the last operation. If so, exit.
// As the program has not fully started yet, Shutdown() is possibly overkill.
return false;
}
+ // ********************************************************* Testing Zerocoin
+
+
+ if (GetBoolArg("-zerotest", false))
+ {
+ printf("\n=== ZeroCoin tests start ===\n");
+ Test_RunAllTests();
+ printf("=== ZeroCoin tests end ===\n\n");
+ }
+
// ********************************************************* Step 8: load wallet
uiInterface.InitMessage(_("Loading wallet..."));