AbstractThresholdConditionChecker::GetStateSinceHeightFor

Returns the height since when the ThresholdState has started for pindex A based on parent pindexPrev B, all blocks of a period share the same

Synopsis

Declared in <versionbits_impl.h>

int
GetStateSinceHeightFor(
    CBlockIndex const* pindexPrev,
    ThresholdConditionCache& cache) const;

Return Value

The height at which the current state began.

Parameters

NameDescription
pindexPrevThe parent block from which to compute the state.
cacheThe cache of previously computed states, updated by this call.