BIP 9 allows multiple softforks to be deployed in parallel. We cache per‐period state for every one we implement and warning state for each BIP 323 allowed bit.
Synopsis
Declared in <versionbits.h>
class VersionBitsCache;
Member Functions
Name |
Description |
Check for unknown activations Returns a vector containing the bit number used for signalling and a bool indicating the deployment is likely to be ACTIVE, rather than merely LOCKED_IN. |
|
Clears all cached per‐period and warning state. |
|
Determine what nVersion a new block should use |
|
Returns the getblocktemplate status of the BIP9 deployments for a given block. |
|
Returns detailed status of a BIP9 deployment for a given block. |
|
Get the BIP9 state for a given deployment for the block after pindexPrev. |
Created with MrDocs