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

Name

Description

pindexPrev

The parent block from which to compute the state.

cache

The cache of previously computed states, updated by this call.

Created with MrDocs