BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
params.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2018 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_CONSENSUS_PARAMS_H
7 #define BITCOIN_CONSENSUS_PARAMS_H
8 
9 #include <uint256.h>
10 #include <limits>
11 #include <map>
12 #include <string>
13 
14 namespace Consensus {
15 
17 {
19  // DEPLOYMENT_CSV, // Deployment of BIP68, BIP112, and BIP113.
20  // DEPLOYMENT_SEGWIT, // Deployment of BIP141, BIP143, and BIP147.
21  // NOTE: Also add new deployments to VersionBitsDeploymentInfo in versionbits.cpp
23 };
24 
30  int bit;
32  int64_t nStartTime;
34  int64_t nTimeout;
35 };
36 
40 struct Params {
45  //uint256 BIP34Hash;
65 
68 };
69 } // namespace Consensus
70 
71 #endif // BITCOIN_CONSENSUS_PARAMS_H
int64_t nPowTargetTimespan
Definition: params.h:61
bool fPowNoRetargeting
Definition: params.h:59
bool fPowAllowMinDifficultyBlocks
Definition: params.h:58
int nSubsidyHalvingInterval
Definition: params.h:42
bool nBIP34Enabled
Block height and hash at which BIP34 becomes active.
Definition: params.h:44
bool nSegwitEnabled
Definition: params.h:66
uint256 powLimit
Proof of work parameters.
Definition: params.h:57
DeploymentPos
Definition: params.h:16
Struct for each individual consensus rule change using BIP9.
Definition: params.h:28
int64_t nStartTime
Start MedianTime for version bits miner confirmation.
Definition: params.h:32
int64_t nPowTargetSpacing
Definition: params.h:60
bool nBIP65Enabled
Definition: params.h:46
bool nCSVEnabled
Definition: params.h:67
uint32_t nMinerConfirmationWindow
Definition: params.h:54
Parameters that influence chain consensus.
Definition: params.h:40
int64_t DifficultyAdjustmentInterval() const
Definition: params.h:62
int64_t nTimeout
Timeout/expiry MedianTime for the deployment attempt.
Definition: params.h:34
256-bit opaque blob.
Definition: uint256.h:122
uint256 nMinimumChainWork
Definition: params.h:63
uint256 defaultAssumeValid
Definition: params.h:64
bool nBIP66Enabled
Definition: params.h:47
uint32_t nRuleChangeActivationThreshold
Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period...
Definition: params.h:53
int bit
Bit position to select the particular bit in nVersion.
Definition: params.h:30
uint256 hashGenesisBlock
Definition: params.h:41
BIP9Deployment vDeployments[MAX_VERSION_BITS_DEPLOYMENTS]
Definition: params.h:55