Parameters that influence chain consensus.
More...
#include <params.h>
Parameters that influence chain consensus.
Definition at line 84 of file params.h.
◆ DeploymentHeight()
◆ DifficultyAdjustmentInterval()
| int64_t Consensus::Params::DifficultyAdjustmentInterval |
( |
| ) |
const |
|
inline |
◆ PowTargetSpacing()
| std::chrono::seconds Consensus::Params::PowTargetSpacing |
( |
| ) |
const |
|
inline |
◆ BIP34Hash
| uint256 Consensus::Params::BIP34Hash |
◆ BIP34Height
| int Consensus::Params::BIP34Height |
Block height and hash at which BIP34 becomes active.
Definition at line 95 of file params.h.
◆ BIP65Height
| int Consensus::Params::BIP65Height |
Block height at which BIP65 becomes active.
Definition at line 98 of file params.h.
◆ BIP66Height
| int Consensus::Params::BIP66Height |
Block height at which BIP66 becomes active.
Definition at line 100 of file params.h.
◆ CSVHeight
| int Consensus::Params::CSVHeight |
Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.
Definition at line 102 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 130 of file params.h.
◆ enforce_BIP94
| bool Consensus::Params::enforce_BIP94 |
Enforce BIP94 timewarp attack mitigation.
On testnet4 this also enforces the block storm mitigation.
Definition at line 118 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 109 of file params.h.
◆ nMinimumChainWork
| uint256 Consensus::Params::nMinimumChainWork |
The best chain should have at least this much work.
Definition at line 128 of file params.h.
◆ nPowTargetSpacing
| int64_t Consensus::Params::nPowTargetSpacing |
◆ nPowTargetTimespan
| int64_t Consensus::Params::nPowTargetTimespan |
◆ nSubsidyHalvingInterval
| int Consensus::Params::nSubsidyHalvingInterval |
◆ powLimit
| uint256 Consensus::Params::powLimit |
Proof of work parameters.
Definition at line 112 of file params.h.
◆ script_flag_exceptions
Hashes of blocks that.
- are known to be consensus valid, and
- buried in the chain, and
- fail if the default script verify flags are applied.
Definition at line 93 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 106 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 136 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: