Raven Core  3.0.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
Consensus::Params Struct Reference

Parameters that influence chain consensus. More...

#include <params.h>

Collaboration diagram for Consensus::Params:
[legend]

Public Member Functions

int64_t DifficultyAdjustmentInterval () const
 

Public Attributes

uint256 hashGenesisBlock
 
int nSubsidyHalvingInterval
 
bool nBIP34Enabled
 Block height and hash at which BIP34 becomes active. More...
 
bool nBIP65Enabled
 
bool nBIP66Enabled
 
uint32_t nRuleChangeActivationThreshold
 Block height at which BIP65 becomes active. More...
 
uint32_t nMinerConfirmationWindow
 
BIP9Deployment vDeployments [MAX_VERSION_BITS_DEPLOYMENTS]
 
uint256 powLimit
 Proof of work parameters. More...
 
bool fPowAllowMinDifficultyBlocks
 
bool fPowNoRetargeting
 
int64_t nPowTargetSpacing
 
int64_t nPowTargetTimespan
 
uint256 nMinimumChainWork
 
uint256 defaultAssumeValid
 
bool nSegwitEnabled
 
bool nCSVEnabled
 

Detailed Description

Parameters that influence chain consensus.

Definition at line 47 of file params.h.

Member Function Documentation

◆ DifficultyAdjustmentInterval()

int64_t Consensus::Params::DifficultyAdjustmentInterval ( ) const
inline

Definition at line 73 of file params.h.

Here is the caller graph for this function:

Member Data Documentation

◆ defaultAssumeValid

uint256 Consensus::Params::defaultAssumeValid

Definition at line 75 of file params.h.

◆ fPowAllowMinDifficultyBlocks

bool Consensus::Params::fPowAllowMinDifficultyBlocks

Definition at line 69 of file params.h.

◆ fPowNoRetargeting

bool Consensus::Params::fPowNoRetargeting

Definition at line 70 of file params.h.

◆ hashGenesisBlock

uint256 Consensus::Params::hashGenesisBlock

Definition at line 48 of file params.h.

◆ nBIP34Enabled

bool Consensus::Params::nBIP34Enabled

Block height and hash at which BIP34 becomes active.

Definition at line 51 of file params.h.

◆ nBIP65Enabled

bool Consensus::Params::nBIP65Enabled

Definition at line 52 of file params.h.

◆ nBIP66Enabled

bool Consensus::Params::nBIP66Enabled

Definition at line 53 of file params.h.

◆ nCSVEnabled

bool Consensus::Params::nCSVEnabled

Definition at line 77 of file params.h.

◆ nMinerConfirmationWindow

uint32_t Consensus::Params::nMinerConfirmationWindow

Definition at line 65 of file params.h.

◆ nMinimumChainWork

uint256 Consensus::Params::nMinimumChainWork

Definition at line 74 of file params.h.

◆ nPowTargetSpacing

int64_t Consensus::Params::nPowTargetSpacing

Definition at line 71 of file params.h.

◆ nPowTargetTimespan

int64_t Consensus::Params::nPowTargetTimespan

Definition at line 72 of file params.h.

◆ nRuleChangeActivationThreshold

uint32_t Consensus::Params::nRuleChangeActivationThreshold

Block height at which BIP65 becomes active.

Block height at which BIP66 becomes active Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period, (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments. Examples: 1916 for 95%, 1512 for testchains.

Definition at line 64 of file params.h.

◆ nSegwitEnabled

bool Consensus::Params::nSegwitEnabled

Definition at line 76 of file params.h.

◆ nSubsidyHalvingInterval

int Consensus::Params::nSubsidyHalvingInterval

Definition at line 49 of file params.h.

◆ powLimit

uint256 Consensus::Params::powLimit

Proof of work parameters.

Definition at line 68 of file params.h.

◆ vDeployments

BIP9Deployment Consensus::Params::vDeployments[MAX_VERSION_BITS_DEPLOYMENTS]

Definition at line 66 of file params.h.


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