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

Method GetStateFor

src/test/versionbits_tests.cpp:31–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 bool Condition(const CBlockIndex* pindex, const Consensus::Params& params) const override { return (pindex->nVersion & 0x100); }
30
31 ThresholdState GetStateFor(const CBlockIndex* pindexPrev) const { return AbstractThresholdConditionChecker::GetStateFor(pindexPrev, paramsDummy, cache); }
32 int GetStateSinceHeightFor(const CBlockIndex* pindexPrev) const { return AbstractThresholdConditionChecker::GetStateSinceHeightFor(pindexPrev, paramsDummy, cache); }
33};
34

Callers 1

VersionBitsTesterClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected