Dash Core  0.12.2.1
P2P Digital Currency
Consensus::BIP9Deployment Struct Reference

#include <params.h>

Public Attributes

int bit
 
int64_t nStartTime
 
int64_t nTimeout
 
int64_t nWindowSize
 
int64_t nThreshold
 

Detailed Description

Struct for each individual consensus rule change using BIP9.

Definition at line 27 of file params.h.

Member Data Documentation

◆ bit

int Consensus::BIP9Deployment::bit

Bit position to select the particular bit in nVersion.

Definition at line 29 of file params.h.

Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and getblocktemplate().

◆ nStartTime

int64_t Consensus::BIP9Deployment::nStartTime

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

Definition at line 31 of file params.h.

Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().

◆ nThreshold

int64_t Consensus::BIP9Deployment::nThreshold

A number of blocks, in the range of 1..nWindowSize, which must signal for a fork in order to lock it in.

Definition at line 37 of file params.h.

Referenced by CMainParams::CMainParams(), and CTestNetParams::CTestNetParams().

◆ nTimeout

int64_t Consensus::BIP9Deployment::nTimeout

Timeout/expiry MedianTime for the deployment attempt.

Definition at line 33 of file params.h.

Referenced by CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), and CTestNetParams::CTestNetParams().

◆ nWindowSize

int64_t Consensus::BIP9Deployment::nWindowSize

The number of past blocks (including the block under consideration) to be taken into account for locking in a fork.

Definition at line 35 of file params.h.

Referenced by CMainParams::CMainParams(), and CTestNetParams::CTestNetParams().


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