 |
Bitcoin Core
21.99.0
P2P Digital Currency
|
Go to the documentation of this file.
6 #ifndef BITCOIN_CONSENSUS_PARAMS_H
7 #define BITCOIN_CONSENSUS_PARAMS_H
39 static constexpr int64_t
NO_TIMEOUT = std::numeric_limits<int64_t>::max();
106 #endif // BITCOIN_CONSENSUS_PARAMS_H
int64_t nStartTime
Start MedianTime for version bits miner confirmation.
int bit
Bit position to select the particular bit in nVersion.
int nSubsidyHalvingInterval
int64_t nTimeout
Timeout/expiry MedianTime for the deployment attempt.
static constexpr int64_t NO_TIMEOUT
Constant for nTimeout very far in the future.
@ MAX_VERSION_BITS_DEPLOYMENTS
uint32_t nMinerConfirmationWindow
uint256 defaultAssumeValid
By default assume that the signatures in ancestors of this block are valid.
uint32_t nRuleChangeActivationThreshold
Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period,...
Struct for each individual consensus rule change using BIP9.
int64_t nPowTargetSpacing
Parameters that influence chain consensus.
int SegwitHeight
Block height at which Segwit (BIP141, BIP143 and BIP147) becomes active.
Transaction validation functions.
bool fPowAllowMinDifficultyBlocks
std::vector< uint8_t > signet_challenge
static constexpr int64_t NEVER_ACTIVE
Special value for nStartTime indicating that the deployment is never active.
uint256 powLimit
Proof of work parameters.
int64_t nPowTargetTimespan
int min_activation_height
If lock in occurs, delay activation until at least this block height.
int BIP34Height
Block height and hash at which BIP34 becomes active.
int BIP66Height
Block height at which BIP66 becomes active.
BIP9Deployment vDeployments[MAX_VERSION_BITS_DEPLOYMENTS]
int BIP65Height
Block height at which BIP65 becomes active.
uint256 nMinimumChainWork
The best chain should have at least this much work.
int CSVHeight
Block height at which CSV (BIP68, BIP112 and BIP113) becomes active.
int64_t DifficultyAdjustmentInterval() const
int MinBIP9WarningHeight
Don't warn about unknown BIP 9 activations below this height.
bool signet_blocks
If true, witness commitments contain a payload equal to a Bitcoin Script solution to the signet chall...
static constexpr int64_t ALWAYS_ACTIVE
Special value for nStartTime indicating that the deployment is always active.