MCPcopy Create free account
hub / github.com/LUX-Core/lux / VersionBitsState

Function VersionBitsState

src/versionbits.cpp:192–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192ThresholdState VersionBitsState(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache)
193{
194 return VersionBitsConditionChecker(pos).GetStateFor(pindexPrev, params, cache.caches[pos]);
195}
196
197uint32_t VersionBitsMask(const Consensus::Params& params, Consensus::DeploymentPos pos)
198{

Callers 6

getblocktemplateFunction · 0.85
ComputeBlockVersionFunction · 0.85
VersionBitsTipStateFunction · 0.85
ConnectBlockFunction · 0.85
ContextualCheckBlockFunction · 0.85
IsWitnessEnabledFunction · 0.85

Calls 2

GetStateForMethod · 0.80

Tested by

no test coverage detected