aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorshaolinfry <shaolinfry@protonmail.ch>2017-05-05 03:21:34 +0000
committerJorge Timón <jtimon@jtimon.cc>2017-05-30 19:21:51 +0200
commit29c07196d0b8228bacb5746f136b62ffa3586c7b (patch)
treef71ef04738822a8ef28a01a7c39c94dfcd9de820 /src/chainparams.cpp
parent4314544d46e8e46c3c9da60f1d18297f52f58418 (diff)
Rename -bip9params to -vbparams
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index 5055fb3e0a..04a2f680fa 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -55,7 +55,7 @@ static CBlock CreateGenesisBlock(uint32_t nTime, uint32_t nNonce, uint32_t nBits
return CreateGenesisBlock(pszTimestamp, genesisOutputScript, nTime, nNonce, nBits, nVersion, genesisReward);
}
-void CChainParams::UpdateBIP9Parameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
+void CChainParams::UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
{
consensus.vDeployments[d].nStartTime = nStartTime;
consensus.vDeployments[d].nTimeout = nTimeout;
@@ -356,8 +356,7 @@ void SelectParams(const std::string& network)
globalChainParams = CreateChainParams(network);
}
-void UpdateBIP9Parameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
+void UpdateVersionBitsParameters(Consensus::DeploymentPos d, int64_t nStartTime, int64_t nTimeout)
{
- globalChainParams->UpdateBIP9Parameters(d, nStartTime, nTimeout);
+ globalChainParams->UpdateVersionBitsParameters(d, nStartTime, nTimeout);
}
-