Bitcoin Core  21.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
VersionBitsCache Struct Reference

BIP 9 allows multiple softforks to be deployed in parallel. More...

#include <versionbits.h>

Public Member Functions

void Clear ()
 

Public Attributes

ThresholdConditionCache caches [Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
 

Detailed Description

BIP 9 allows multiple softforks to be deployed in parallel.

We cache per-period state for every one of them keyed by the bit position used to signal support.

Definition at line 76 of file versionbits.h.

Member Function Documentation

◆ Clear()

void VersionBitsCache::Clear ( )

Definition at line 213 of file versionbits.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ caches

Definition at line 78 of file versionbits.h.


The documentation for this struct was generated from the following files: