Abstract class that implements BIP9‐style threshold logic, and caches results.
Synopsis
Declared in <versionbits_impl.h>
class AbstractThresholdConditionChecker;
Member Functions
Name |
Description |
|
Defaulted virtual destructor. |
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 |
Protected Member Functions
Name |
Description |
|
Returns the timestamp at which the deployment may start. |
|
Returns whether the deployment's condition is met for a block. |
|
Returns the timestamp at which the deployment times out. |
|
Returns the earliest height at which the deployment may activate. |
|
Returns the number of blocks in a retarget period. |
|
Returns the number of signalling blocks required for lock‐in. |
Derived Classes
Name |
Description |
Class to implement versionbits logic. |
Created with MrDocs