Allow changing BIP9 parameters on regtest

This commit is contained in:
Suhas Daftuar
2016-07-25 17:22:37 -04:00
committed by lateminer
parent c5e913fd28
commit 872628a702
3 changed files with 52 additions and 1 deletions

View File

@@ -115,4 +115,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