MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / StateFor

Method StateFor

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

Source from the content-addressed store, hash-verified

29 ~TestConditionChecker() override = default;
30
31 ThresholdState StateFor(const CBlockIndex* pindexPrev) const { return AbstractThresholdConditionChecker::GetStateFor(pindexPrev, cache); }
32 int StateSinceHeightFor(const CBlockIndex* pindexPrev) const { return AbstractThresholdConditionChecker::GetStateSinceHeightFor(pindexPrev, cache); }
33 void clear() { cache.clear(); }
34};

Callers 1

VersionBitsTesterClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected