diff options
author | jtimon <jtimon@blockstream.io> | 2014-08-31 22:32:52 +0200 |
---|---|---|
committer | jtimon <jtimon@blockstream.io> | 2014-10-10 11:01:00 +0200 |
commit | cc972107997122cb31f015b4e70f81781dbce784 (patch) | |
tree | fa8a7ab017f33df0ca599c0ca6dd0281e62574bb /src/chainparams.h | |
parent | e11712df7ea5e946c5ec008d1c761187b495f872 (diff) |
Add fTestnetToBeDeprecatedFieldRPC to CChainParams
Diffstat (limited to 'src/chainparams.h')
-rw-r--r-- | src/chainparams.h | 3 |
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 |