Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Consensus::BIP9Deployment Struct Reference

Struct for each individual consensus rule change using BIP9. More...

#include <params.h>

Public Attributes

int bit
 Bit position to select the particular bit in nVersion. More...
 
int64_t nStartTime
 Start MedianTime for version bits miner confirmation. More...
 
int64_t nTimeout
 Timeout/expiry MedianTime for the deployment attempt. More...
 
int64_t nWindowSize {0}
 The number of past blocks (including the block under consideration) to be taken into account for locking in a fork. More...
 
int64_t nThresholdStart {0}
 A starting number of blocks, in the range of 1..nWindowSize, which must signal for a fork in order to lock it in. More...
 
int64_t nThresholdMin {0}
 A minimum number of blocks, in the range of 1..nWindowSize, which must signal for a fork in order to lock it in. More...
 
int64_t nFalloffCoeff {0}
 A coefficient which adjusts the speed a required number of signaling blocks is decreasing from nThresholdStart to nThresholdMin at with each period. More...
 

Detailed Description

Struct for each individual consensus rule change using BIP9.

Definition at line 31 of file params.h.

Member Data Documentation

◆ bit

int Consensus::BIP9Deployment::bit

Bit position to select the particular bit in nVersion.

Definition at line 33 of file params.h.

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

◆ nFalloffCoeff

int64_t Consensus::BIP9Deployment::nFalloffCoeff {0}

A coefficient which adjusts the speed a required number of signaling blocks is decreasing from nThresholdStart to nThresholdMin at with each period.

Definition at line 45 of file params.h.

Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CChainParams::UpdateVersionBitsParameters().

◆ nStartTime

int64_t Consensus::BIP9Deployment::nStartTime

Start MedianTime for version bits miner confirmation.

Can be a date in the past

Definition at line 35 of file params.h.

Referenced by BIP9SoftForkDesc(), CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CChainParams::UpdateVersionBitsParameters().

◆ nThresholdMin

int64_t Consensus::BIP9Deployment::nThresholdMin {0}

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

Definition at line 43 of file params.h.

Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CChainParams::UpdateVersionBitsParameters().

◆ nThresholdStart

int64_t Consensus::BIP9Deployment::nThresholdStart {0}

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

Definition at line 41 of file params.h.

Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CChainParams::UpdateVersionBitsParameters().

◆ nTimeout

int64_t Consensus::BIP9Deployment::nTimeout

◆ nWindowSize

int64_t Consensus::BIP9Deployment::nWindowSize {0}

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

Definition at line 39 of file params.h.

Referenced by CDevNetParams::CDevNetParams(), CMainParams::CMainParams(), CRegTestParams::CRegTestParams(), CTestNetParams::CTestNetParams(), and CChainParams::UpdateVersionBitsParameters().


The documentation for this struct was generated from the following file:
Released under the MIT license