aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-11-28 12:10:57 -0500
committerJeff Garzik <[email protected]>2012-11-28 12:10:57 -0500
commite6955d04111e842cce55dc230d9dcc971560a299 (patch)
tree4d8cc970ab0db6f8f1c2aa5c7e714d30ea7b8895 /src/checkpoints.cpp
parentAdd "checkpoints" option, to permit disabling of checkpoint logic. (diff)
downloaddiscoin-e6955d04111e842cce55dc230d9dcc971560a299.tar.xz
discoin-e6955d04111e842cce55dc230d9dcc971560a299.zip
New 'checkpoints' option should default to true.
Diffstat (limited to 'src/checkpoints.cpp')
-rw-r--r--src/checkpoints.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp
index cf3980561..279003072 100644
--- a/src/checkpoints.cpp
+++ b/src/checkpoints.cpp
@@ -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
int GetTotalBlocksEstimate()
{
- if (!GetBoolArg("-checkpoints", false))
+ if (!GetBoolArg("-checkpoints", true))
return 0;
MapCheckpoints& checkpoints = (fTestNet ? mapCheckpointsTestnet : mapCheckpoints);
@@ -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);