Abstract class that implements BIP9-style threshold logic, and caches results.
Declared in <versionbits_impl.h>
class AbstractThresholdConditionChecker;
| Name | Description |
|---|---|
~AbstractThresholdConditionChecker [destructor] [virtual] | Defaulted virtual destructor. |
GetStateFor | 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. |
GetStateSinceHeightFor | 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 |
GetStateStatisticsFor | 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 |
| Name | Description |
|---|---|
BeginTime [virtual] | Returns the timestamp at which the deployment may start. |
Condition [virtual] | Returns whether the deployment's condition is met for a block. |
EndTime [virtual] | Returns the timestamp at which the deployment times out. |
MinActivationHeight [virtual] | Returns the earliest height at which the deployment may activate. |
Period [virtual] | Returns the number of blocks in a retarget period. |
Threshold [virtual] | Returns the number of signalling blocks required for lock-in. |
| Name | Description |
|---|---|
VersionBitsConditionChecker | Class to implement versionbits logic. |