Allow changing BIP9 parameters on regtest

Github-Pull: #8418
Rebased-From: 56c87e92110f05d7452f1e85bf755246ffc77206
This commit is contained in:
Suhas Daftuar
2016-07-25 17:22:37 -04:00
committed by Wladimir J. van der Laan
parent 23feab1f38
commit 198494ce53
3 changed files with 52 additions and 0 deletions

View File

@@ -112,4 +112,9 @@ CChainParams& Params(const std::string& chain);
*/
void SelectParams(const std::string& chain);
/**
* Allows modifying the BIP9 regtest parameters.
*/
void UpdateRegtestBIP9Parameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout);
#endif // BITCOIN_CHAINPARAMS_H