[#ThresholdConditionCache] = ThresholdConditionCache :mrdocs: Maps a block's parent to the threshold state for the following period. == Synopsis Declared in `<versionbits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef std::map<CBlockIndex const*, ThresholdState> ThresholdConditionCache; ---- == Description The state applies to blocks whose height is a multiple of Period(). The map is indexed by the block's parent, however, so all keys will either be nullptr or a block with (height + 1) % Period() == 0. [.small]#Created with https://www.mrdocs.com[MrDocs]#