[#ThresholdState] = ThresholdState :mrdocs: Opaque type for BIP9 state. See versionbits_impl.h for details. == Synopsis Declared in `<versionbits_impl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class ThresholdState : uint8_t; ---- == Members [cols="1,4"] |=== | Name| Description | `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 [cols="1,4"] |=== | Name| Description | xref:StateName.adoc[`StateName`] | Get a string with the state name |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#