Struct for each individual consensus rule change using BIP9.
More...
#include <params.h>
|
static constexpr int64_t | NO_TIMEOUT = std::numeric_limits<int64_t>::max() |
| Constant for nTimeout very far in the future. More...
|
|
static constexpr int64_t | ALWAYS_ACTIVE = -1 |
| Special value for nStartTime indicating that the deployment is always active. More...
|
|
Struct for each individual consensus rule change using BIP9.
Definition at line 26 of file params.h.
◆ ALWAYS_ACTIVE
constexpr int64_t Consensus::BIP9Deployment::ALWAYS_ACTIVE = -1 |
|
static |
Special value for nStartTime indicating that the deployment is always active.
This is useful for testing, as it means tests don't need to deal with the activation process (which takes at least 3 BIP9 intervals). Only tests that specifically test the behaviour during activation cannot use this.
Definition at line 53 of file params.h.
◆ bit
int Consensus::BIP9Deployment::bit |
Bit position to select the particular bit in nVersion.
Definition at line 28 of file params.h.
◆ nActivationThreshold
uint32_t Consensus::BIP9Deployment::nActivationThreshold = 1512 |
Minimum number of blocks within an activation window that must signal to activate the deployement.
Default to 75% of 2016.
Definition at line 34 of file params.h.
◆ NO_TIMEOUT
constexpr int64_t Consensus::BIP9Deployment::NO_TIMEOUT = std::numeric_limits<int64_t>::max() |
|
static |
Constant for nTimeout very far in the future.
Definition at line 44 of file params.h.
◆ nStartTime
int64_t Consensus::BIP9Deployment::nStartTime = 0 |
Start MedianTime for version bits miner confirmation.
Can be a date in the past.
Definition at line 39 of file params.h.
◆ nTimeout
int64_t Consensus::BIP9Deployment::nTimeout = NO_TIMEOUT |
Timeout/expiry MedianTime for the deployment attempt.
Definition at line 41 of file params.h.
The documentation for this struct was generated from the following file: