Bitcoin
Public Attributes | Static Public Attributes | List of all members
Consensus::BIP9Deployment Struct Reference

#include <params.h>

Public Attributes

int bit
 
int64_t nStartTime
 
int64_t nTimeout
 

Static Public Attributes

static constexpr int64_t NO_TIMEOUT = std::numeric_limits<int64_t>::max()
 
static constexpr int64_t ALWAYS_ACTIVE = -1
 

Detailed Description

Struct for each individual consensus rule change using BIP9.

Member Data Documentation

◆ 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.

◆ bit

int Consensus::BIP9Deployment::bit

Bit position to select the particular bit in nVersion.

◆ NO_TIMEOUT

constexpr int64_t Consensus::BIP9Deployment::NO_TIMEOUT = std::numeric_limits<int64_t>::max()
static

Constant for nTimeout very far in the future.

◆ nStartTime

int64_t Consensus::BIP9Deployment::nStartTime

Start MedianTime for version bits miner confirmation. Can be a date in the past

◆ nTimeout

int64_t Consensus::BIP9Deployment::nTimeout

Timeout/expiry MedianTime for the deployment attempt.


The documentation for this struct was generated from the following file: