MCPcopy Create free account
hub / github.com/ElementsProject/elements / State

Method State

src/versionbits.cpp:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223} // namespace
224
225ThresholdState VersionBitsCache::State(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos)
226{
227 LOCK(m_mutex);
228 return VersionBitsConditionChecker(pos).GetStateFor(pindexPrev, params, m_caches[pos]);
229}
230
231BIP9Stats VersionBitsCache::Statistics(const CBlockIndex* pindex, const Consensus::Params& params, Consensus::DeploymentPos pos, std::vector<bool>* signalling_blocks)
232{

Callers 1

DeploymentActiveAfterFunction · 0.45

Calls 2

GetStateForMethod · 0.45

Tested by

no test coverage detected