Parameters that influence chain consensus.
More...
#include <params.h>
Parameters that influence chain consensus.
Definition at line 56 of file params.h.
◆ DifficultyAdjustmentInterval()
int64_t Consensus::Params::DifficultyAdjustmentInterval |
( |
| ) |
const |
|
inline |
◆ BIP16Exception
uint256 Consensus::Params::BIP16Exception |
◆ BIP34Hash
uint256 Consensus::Params::BIP34Hash |
◆ BIP34Height
int Consensus::Params::BIP34Height |
Block height and hash at which BIP34 becomes active.
Definition at line 62 of file params.h.
◆ BIP65Height
int Consensus::Params::BIP65Height |
Block height at which BIP65 becomes active.
Definition at line 65 of file params.h.
◆ BIP66Height
int Consensus::Params::BIP66Height |
Block height at which BIP66 becomes active.
Definition at line 67 of file params.h.
◆ CSVHeight
int Consensus::Params::CSVHeight |
Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.
Definition at line 69 of file params.h.
◆ defaultAssumeValid
uint256 Consensus::Params::defaultAssumeValid |
By default assume that the signatures in ancestors of this block are valid.
Definition at line 95 of file params.h.
◆ fPowAllowMinDifficultyBlocks
bool Consensus::Params::fPowAllowMinDifficultyBlocks |
◆ fPowNoRetargeting
bool Consensus::Params::fPowNoRetargeting |
◆ hashGenesisBlock
uint256 Consensus::Params::hashGenesisBlock |
◆ MinBIP9WarningHeight
int Consensus::Params::MinBIP9WarningHeight |
Don't warn about unknown BIP 9 activations below this height.
This prevents us from warning about the CSV and segwit activations.
Definition at line 76 of file params.h.
◆ nMinerConfirmationWindow
uint32_t Consensus::Params::nMinerConfirmationWindow |
◆ nMinimumChainWork
uint256 Consensus::Params::nMinimumChainWork |
The best chain should have at least this much work.
Definition at line 93 of file params.h.
◆ nPowTargetSpacing
int64_t Consensus::Params::nPowTargetSpacing |
◆ nPowTargetTimespan
int64_t Consensus::Params::nPowTargetTimespan |
◆ nRuleChangeActivationThreshold
uint32_t Consensus::Params::nRuleChangeActivationThreshold |
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 82 of file params.h.
◆ nSubsidyHalvingInterval
int Consensus::Params::nSubsidyHalvingInterval |
◆ powLimit
uint256 Consensus::Params::powLimit |
Proof of work parameters.
Definition at line 86 of file params.h.
◆ SegwitHeight
int Consensus::Params::SegwitHeight |
Block height at which Segwit (BIP141, BIP143 and BIP147) becomes active.
Note that segwit v0 script rules are enforced on all blocks except the BIP 16 exception blocks.
Definition at line 73 of file params.h.
◆ signet_blocks
bool Consensus::Params::signet_blocks {false} |
If true, witness commitments contain a payload equal to a Bitcoin Script solution to the signet challenge.
See BIP325.
Definition at line 101 of file params.h.
◆ signet_challenge
std::vector<uint8_t> Consensus::Params::signet_challenge |
◆ vDeployments
The documentation for this struct was generated from the following file: