mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 03:23:43 +02:00
Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter
This commit is contained in:
@@ -14,6 +14,7 @@ class CBlockIndex;
|
||||
class CReserveKey;
|
||||
class CScript;
|
||||
class CWallet;
|
||||
namespace Consensus { class Params; };
|
||||
|
||||
struct CBlockTemplate
|
||||
{
|
||||
@@ -29,6 +30,6 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
|
||||
CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey);
|
||||
/** Modify the extranonce in a block */
|
||||
void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce);
|
||||
void UpdateTime(CBlockHeader* block, const CBlockIndex* pindexPrev);
|
||||
void UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev);
|
||||
|
||||
#endif // BITCOIN_MINER_H
|
||||
|
Reference in New Issue
Block a user