chainparams: Remove unused fMineBlocksOnDemand
It is equal to consensus.fPowNoRetargeting
This commit is contained in:
parent
6c9d3c704f
commit
fa613ca0a8
2 changed files with 2 additions and 6 deletions
|
@ -141,7 +141,6 @@ public:
|
||||||
|
|
||||||
fDefaultConsistencyChecks = false;
|
fDefaultConsistencyChecks = false;
|
||||||
fRequireStandard = true;
|
fRequireStandard = true;
|
||||||
fMineBlocksOnDemand = false;
|
|
||||||
|
|
||||||
checkpointData = {
|
checkpointData = {
|
||||||
{
|
{
|
||||||
|
@ -247,7 +246,6 @@ public:
|
||||||
|
|
||||||
fDefaultConsistencyChecks = false;
|
fDefaultConsistencyChecks = false;
|
||||||
fRequireStandard = false;
|
fRequireStandard = false;
|
||||||
fMineBlocksOnDemand = false;
|
|
||||||
|
|
||||||
|
|
||||||
checkpointData = {
|
checkpointData = {
|
||||||
|
@ -325,7 +323,6 @@ public:
|
||||||
|
|
||||||
fDefaultConsistencyChecks = true;
|
fDefaultConsistencyChecks = true;
|
||||||
fRequireStandard = false;
|
fRequireStandard = false;
|
||||||
fMineBlocksOnDemand = true;
|
|
||||||
|
|
||||||
checkpointData = {
|
checkpointData = {
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,8 +71,8 @@ public:
|
||||||
uint64_t AssumedBlockchainSize() const { return m_assumed_blockchain_size; }
|
uint64_t AssumedBlockchainSize() const { return m_assumed_blockchain_size; }
|
||||||
/** Minimum free space (in GB) needed for data directory when pruned; Does not include prune target*/
|
/** Minimum free space (in GB) needed for data directory when pruned; Does not include prune target*/
|
||||||
uint64_t AssumedChainStateSize() const { return m_assumed_chain_state_size; }
|
uint64_t AssumedChainStateSize() const { return m_assumed_chain_state_size; }
|
||||||
/** Make miner stop after a block is found. In RPC, don't return until nGenProcLimit blocks are generated */
|
/** Whether it is possible to mine blocks on demand (no retargeting) */
|
||||||
bool MineBlocksOnDemand() const { return fMineBlocksOnDemand; }
|
bool MineBlocksOnDemand() const { return consensus.fPowNoRetargeting; }
|
||||||
/** Return the BIP70 network string (main, test or regtest) */
|
/** Return the BIP70 network string (main, test or regtest) */
|
||||||
std::string NetworkIDString() const { return strNetworkID; }
|
std::string NetworkIDString() const { return strNetworkID; }
|
||||||
/** Return true if the fallback fee is by default enabled for this network */
|
/** Return true if the fallback fee is by default enabled for this network */
|
||||||
|
@ -101,7 +101,6 @@ protected:
|
||||||
std::vector<SeedSpec6> vFixedSeeds;
|
std::vector<SeedSpec6> vFixedSeeds;
|
||||||
bool fDefaultConsistencyChecks;
|
bool fDefaultConsistencyChecks;
|
||||||
bool fRequireStandard;
|
bool fRequireStandard;
|
||||||
bool fMineBlocksOnDemand;
|
|
||||||
CCheckpointData checkpointData;
|
CCheckpointData checkpointData;
|
||||||
ChainTxData chainTxData;
|
ChainTxData chainTxData;
|
||||||
bool m_fallback_fee_enabled;
|
bool m_fallback_fee_enabled;
|
||||||
|
|
Loading…
Reference in a new issue