diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2016-04-23 23:30:20 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2016-06-08 18:42:17 +0000 |
commit | ddd8c01d705df5526260c3804f89aa9ca9987fac (patch) | |
tree | 68a4cd6d6d50efed8d4a24879cf86c30d0f43a82 /src/main.cpp | |
parent | 26e9a05cc3192ce19b7c46043aeb12230d3207a5 (diff) | |
download | bitcoin-ddd8c01d705df5526260c3804f89aa9ca9987fac.tar.xz |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 14f70cdf5f..5cf9b45532 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2137,7 +2137,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) { |