![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | AbstractThresholdConditionChecker |
Abstract class that implements BIP9-style threshold logic, and caches results. More... | |
class | VersionBitsConditionChecker |
Class to implement versionbits logic. More... | |
Enumerations | |
enum class | ThresholdState : uint8_t { DEFINED , STARTED , LOCKED_IN , ACTIVE , FAILED } |
BIP 9 defines a finite-state-machine to deploy a softfork in multiple stages. More... | |
Functions | |
std::string | StateName (ThresholdState state) |
Get a string with the state name. More... | |
|
strong |
BIP 9 defines a finite-state-machine to deploy a softfork in multiple stages.
State transitions happen during retarget period if conditions are met In case of reorg, transitions can go backward. Without transition, state is inherited between periods. All blocks of a period share the same state.
Enumerator | |
---|---|
DEFINED | |
STARTED | |
LOCKED_IN | |
ACTIVE | |
FAILED |
Definition at line 17 of file versionbits_impl.h.
std::string StateName | ( | ThresholdState | state | ) |
Get a string with the state name.
Definition at line 14 of file versionbits.cpp.