Class to implement versionbits logic.
Synopsis
Declared in <versionbits_impl.h>
class VersionBitsConditionChecker
: public AbstractThresholdConditionChecker
Base Classes
Name |
Description |
Abstract class that implements BIP9‐style threshold logic, and caches results. |
Member Functions
Name |
Description |
|
Constructors |
Returns whether a version number signals this deployment's bit. |
|
Returns the state for pindex A based on parent pindexPrev B. Applies any state transition if conditions are present. Caches state from first block of period. |
|
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 |
|
Returns the numerical statistics of an in‐progress BIP9 softfork in the period including pindex If provided, signalling_blocks is set to true/false based on whether each block in the period signalled |
|
Returns the version bit mask for this deployment. |
Protected Member Functions
Name |
Description |
|
Returns the deployment's configured start time. |
|
Returns whether the block's version signals this deployment's bit. |
|
Returns the deployment's configured timeout time. |
|
Returns the deployment's configured minimum activation height. |
|
Returns the deployment's configured retarget period length. |
|
Returns the deployment's configured signalling threshold. |
Created with MrDocs