aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-01 16:25:31 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-01 16:25:34 +0200
commitec0afbd52b787ac0c8d49ad1b6c9dfa98d725b03 (patch)
tree132d34784012f0be5fb32ae148f8367a124f028b /src/main.cpp
parent15502d7b2543cb43688abde7e6019b7c2b9c3411 (diff)
parentdb4bacf59092ae4aa923a58f379c36757edad932 (diff)
downloadbitcoin-ec0afbd52b787ac0c8d49ad1b6c9dfa98d725b03.tar.xz
Merge #8176: [0.12.x]: Versionbits: GBT support
db4bacf getblocktemplate: Use version/force mutation to support pre-BIP9 clients (Luke Dashjr) 65ee332 getblocktemplate: Explicitly handle the distinction between GBT-affecting softforks vs not (Luke Dashjr) 40e81f5 qa/rpc-tests: bip9-softforks: Add tests for getblocktemplate versionbits updates (Luke Dashjr) ddd8c01 Implement BIP 9 GBT changes (Luke Dashjr)
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 5187d543a1..6dc2b3ba0c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2160,7 +2160,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)
{