aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2015-04-09 11:50:18 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2015-09-29 19:46:34 +0000
commite761d7a94ff8b9f638b65b16f5c4ffab6573884a (patch)
tree4eeaa151e882c0c0e33c4be97048194fd8aad1b3 /src/chainparams.h
parent5fb5c9b21335edfe193513ae3fe3f09c1cefe24b (diff)
Bugfix: Allow mining on top of old tip blocks for testnet (fixes testnet-in-a-box use case)
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index 66d865b620..465e6a61a8 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -57,6 +57,7 @@ public:
bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; }
/** Policy: Filter transactions that do not match well-defined patterns */
bool RequireStandard() const { return fRequireStandard; }
+ int64_t MaxTipAge() const { return nMaxTipAge; }
int64_t PruneAfterHeight() const { return nPruneAfterHeight; }
/** Make miner stop after a block is found. In RPC, don't return until nGenProcLimit blocks are generated */
bool MineBlocksOnDemand() const { return fMineBlocksOnDemand; }
@@ -76,6 +77,7 @@ protected:
//! Raw pub key bytes for the broadcast alert signing key.
std::vector<unsigned char> vAlertPubKey;
int nDefaultPort;
+ long nMaxTipAge;
uint64_t nPruneAfterHeight;
std::vector<CDNSSeedData> vSeeds;
std::vector<unsigned char> base58Prefixes[MAX_BASE58_TYPES];