Allow changing BIP9 parameters on regtest

This commit is contained in:
Suhas Daftuar
2016-07-25 17:22:37 -04:00
parent 7a2d402727
commit 56c87e9211
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