Add field fMinerTestModeForFoundersRewardScript to chainparams

This commit is contained in:
Simon
2016-09-30 18:31:51 -07:00
parent 02acbfc262
commit 2d6e97ecc5
3 changed files with 18 additions and 0 deletions

View File

@@ -81,6 +81,8 @@ public:
std::string GetFoundersRewardAddressAtHeight(int height) const;
CScript GetFoundersRewardScriptAtHeight(int height) const;
std::string GetFoundersRewardAddressAtIndex(int i) const;
/** #1398 to return a fixed founders reward script for miner_tests */
bool fMinerTestModeForFoundersRewardScript = false;
protected:
CChainParams() {}