diff options
author | Anthony Towns <aj@erisian.com.au> | 2021-06-11 06:59:53 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2021-06-30 08:19:12 +1000 |
commit | c64b2c6a0f79369624ae96b2e3d579d50aae4de6 (patch) | |
tree | 666e3fbbdf9ee9b06e40ac0955b90bf0fe6b4800 /src/deploymentstatus.h | |
parent | de55304f6e7a8b607e6b3fc7436de50910747b0c (diff) |
scripted-diff: rename versionbitscache
-BEGIN VERIFY SCRIPT-
sed -i -e 's/versionbitscache/g_versionbitscache/g' $(git grep -l versionbitscache)
-END VERIFY SCRIPT-
Diffstat (limited to 'src/deploymentstatus.h')
-rw-r--r-- | src/deploymentstatus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deploymentstatus.h b/src/deploymentstatus.h index 327a5f7892..3c4f1895a1 100644 --- a/src/deploymentstatus.h +++ b/src/deploymentstatus.h @@ -11,7 +11,7 @@ #include <limits> /** Global cache for versionbits deployment status */ -extern VersionBitsCache versionbitscache; +extern VersionBitsCache g_versionbitscache; /** Determine if a deployment is active for the next block */ inline bool DeploymentActiveAfter(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::BuriedDeployment dep) @@ -23,7 +23,7 @@ inline bool DeploymentActiveAfter(const CBlockIndex* pindexPrev, const Consensus inline bool DeploymentActiveAfter(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos dep) { assert(Consensus::ValidDeployment(dep)); - return ThresholdState::ACTIVE == VersionBitsState(pindexPrev, params, dep, versionbitscache); + return ThresholdState::ACTIVE == VersionBitsState(pindexPrev, params, dep, g_versionbitscache); } /** Determine if a deployment is active for this block */ |