[#AbstractThresholdConditionChecker-GetStateSinceHeightFor] = xref:AbstractThresholdConditionChecker.adoc[AbstractThresholdConditionChecker]::GetStateSinceHeightFor :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int GetStateSinceHeightFor( xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev, xref:ThresholdConditionCache.adoc[ThresholdConditionCache]& cache) const; ---- == Return Value The height at which the current state began. == Parameters [cols="1,4"] |=== | Name| Description | *pindexPrev* | The parent block from which to compute the state. | *cache* | The cache of previously computed states, updated by this call. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#