Browse Source

New 'checkpoints' option should default to true.

0.8
Jeff Garzik 12 years ago committed by Jeff Garzik
parent
commit
e6955d0411
  1. 6
      src/checkpoints.cpp

6
src/checkpoints.cpp

@ -39,7 +39,7 @@ namespace Checkpoints @@ -39,7 +39,7 @@ namespace Checkpoints
bool CheckBlock(int nHeight, const uint256& hash)
{
if (!GetBoolArg("-checkpoints", false))
if (!GetBoolArg("-checkpoints", true))
return true;
MapCheckpoints& checkpoints = (fTestNet ? mapCheckpointsTestnet : mapCheckpoints);
@ -51,7 +51,7 @@ namespace Checkpoints @@ -51,7 +51,7 @@ namespace Checkpoints
int GetTotalBlocksEstimate()
{
if (!GetBoolArg("-checkpoints", false))
if (!GetBoolArg("-checkpoints", true))
return 0;
MapCheckpoints& checkpoints = (fTestNet ? mapCheckpointsTestnet : mapCheckpoints);
@ -61,7 +61,7 @@ namespace Checkpoints @@ -61,7 +61,7 @@ namespace Checkpoints
CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex)
{
if (!GetBoolArg("-checkpoints", false))
if (!GetBoolArg("-checkpoints", true))
return NULL;
MapCheckpoints& checkpoints = (fTestNet ? mapCheckpointsTestnet : mapCheckpoints);

Loading…
Cancel
Save