From 618a8e59b347abfa3db2b93b5b6d48a99cb3db79 Mon Sep 17 00:00:00 2001 From: Travis Cunningham Date: Fri, 1 Sep 2017 14:27:47 -0400 Subject: [PATCH] Remove checkpoints temporarily --- src/checkpoints.cpp | 2 ++ src/main.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index 132c8a3..3e2a7ff 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -46,6 +46,7 @@ namespace Checkpoints int GetTotalBlocksEstimate() { + return 0; MapCheckpoints& checkpoints = (fTestNet ? mapCheckpointsTestnet : mapCheckpoints); return checkpoints.rbegin()->first; @@ -53,6 +54,7 @@ namespace Checkpoints CBlockIndex* GetLastCheckpoint(const std::map& mapBlockIndex) { + return NULL; MapCheckpoints& checkpoints = (fTestNet ? mapCheckpointsTestnet : mapCheckpoints); BOOST_REVERSE_FOREACH(const MapCheckpoints::value_type& i, checkpoints) diff --git a/src/main.h b/src/main.h index 941f632..8c2f638 100644 --- a/src/main.h +++ b/src/main.h @@ -44,7 +44,7 @@ static const int STAKE_MIN_AGE = 60 * 60; // minimum age for coin age static const int STAKE_MAX_AGE = 60 * 60 * 24 * 5; // stake age of full weight static const int STAKE_START_TIME = 1418470264; // Sat 13 Dec 2014 06:31:04 AM EST static const unsigned int POW_START_TIME = 1418403600; // Fri 12 Dec 2014 12:00:00 PM EST -static const unsigned int POW_END_TIME = 1419181200; // Sun 21 Dec 2014 12:00:00 PM EST +static const unsigned int POW_END_TIME = 1504689456; // Sun 21 Dec 2014 12:00:00 PM EST // MODIFIER_INTERVAL: time to elapse before new modifier is computed static const unsigned int MODIFIER_INTERVAL = 10 * 60; static const int64 MINIMUM_FOR_ORION = 50 * COIN; @@ -592,6 +592,7 @@ class CTransaction */ int64 GetValueOut() const { + return 0; int64 nValueOut = 0; BOOST_FOREACH(const CTxOut& txout, vout) {