ThresholdState

Opaque type for BIP9 state. See versionbits_impl.h for details.

Synopsis

Declared in <versionbits_impl.h>

enum class ThresholdState : uint8_t;

Members

NameDescription
DEFINED First state that each softfork starts out as. The genesis block is by definition in this state for each deployment.
STARTED For blocks past the starttime.
LOCKED_IN For at least one retarget period after the first retarget period with STARTED blocks of which at least threshold have the associated bit set in nVersion, until min_activation_height is reached.
ACTIVE For all blocks after the LOCKED_IN retarget period (final state)
FAILED For all blocks once the first retarget period after the timeout time is hit, if LOCKED_IN wasn't already reached (final state)

Non-Member Functions

NameDescription
StateNameGet a string with the state name