aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-04-23 23:30:20 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2016-06-06 17:10:22 +0000
commitd3df40e51a29bd98830043dd19829126390d1bc4 (patch)
treeedfd8caa0807b98e7ab56b91729018040f8fd8a6 /src/main.cpp
parent71527a0f31ae67edad0a7fcda59c75a6ce5666ca (diff)
Implement BIP 9 GBT changes
- BIP9DeploymentInfo struct for static deployment info - VersionBitsDeploymentInfo: Avoid C++11ism by commenting parameter names - getblocktemplate: Make sure to set deployments in the version if it is LOCKED_IN - In this commit, all rules are considered required for clients to support
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f74cb30574..623d77985c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2122,7 +2122,7 @@ void PartitionCheck(bool (*initialDownloadCheck)(), CCriticalSection& cs, const
}
// Protected by cs_main
-static VersionBitsCache versionbitscache;
+VersionBitsCache versionbitscache;
int32_t ComputeBlockVersion(const CBlockIndex* pindexPrev, const Consensus::Params& params)
{