MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / VersionBitsState

Function VersionBitsState

src/versionbits.cpp:204–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202} // namespace
203
204ThresholdState VersionBitsState(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache)
205{
206 return VersionBitsConditionChecker(pos).GetStateFor(pindexPrev, params, cache.caches[pos]);
207}
208
209BIP9Stats VersionBitsStatistics(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos)
210{

Callers 8

ComputeBlockVersionFunction · 0.85
GetBlockScriptFlagsFunction · 0.85
ConnectBlockMethod · 0.85
IsWitnessEnabledFunction · 0.85
IsNullDummyEnabledFunction · 0.85
ContextualCheckBlockFunction · 0.85
VersionBitsTipStateFunction · 0.85
getblocktemplateFunction · 0.85

Calls 2

GetStateForMethod · 0.45

Tested by

no test coverage detected