aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorjtimon <jtimon@blockstream.io>2014-08-31 22:32:52 +0200
committerjtimon <jtimon@blockstream.io>2014-10-10 11:01:00 +0200
commitcc972107997122cb31f015b4e70f81781dbce784 (patch)
treefa8a7ab017f33df0ca599c0ca6dd0281e62574bb /src/chainparams.h
parente11712df7ea5e946c5ec008d1c761187b495f872 (diff)
Add fTestnetToBeDeprecatedFieldRPC to CChainParams
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index d3b1781b4d..21d3b4d526 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -72,6 +72,8 @@ public:
/* Make miner stop after a block is found. In RPC, don't return
* until nGenProcLimit blocks are generated */
bool MineBlocksOnDemand() const { return fMineBlocksOnDemand; }
+ /* In the future use NetworkIDString() for RPC fields */
+ bool TestnetToBeDeprecatedFieldRPC() const { return fTestnetToBeDeprecatedFieldRPC; }
CBaseChainParams::Network NetworkID() const { return networkID; }
/* Return the BIP70 network string (main, test or regtest) */
std::string NetworkIDString() const { return strNetworkID; }
@@ -108,6 +110,7 @@ protected:
bool fRequireStandard;
bool fMineBlocksOnDemand;
bool fSkipProofOfWorkCheck;
+ bool fTestnetToBeDeprecatedFieldRPC;
};
/** Modifiable parameters interface is used by test cases to adapt the parameters in order