aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2015-04-17 14:19:52 +0200
committerJorge Timón <jtimon@jtimon.cc>2015-11-11 13:21:17 +0100
commit6bc9e4056b2bf4ff6549ed4d6d9ccf2fa822fef4 (patch)
tree560af579e8fada4d2804ce0255071a21d9bbb5d0 /src/miner.h
parent598e4945872349ead03ff0cddc87c14b925157ec (diff)
Chainparams: Explicit CChainParams arg for miner:
-BitcoinMiner -CreateNewBlock -GenerateBitcoins -ProcessBlockFound
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h
index ad13204818..7b544303e0 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -29,7 +29,7 @@ struct CBlockTemplate
/** Run the miner threads */
void GenerateBitcoins(bool fGenerate, int nThreads, const CChainParams& chainparams);
/** Generate a new block, without valid proof-of-work */
-CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn);
+CBlockTemplate* CreateNewBlock(const CChainParams& chainparams, const CScript& scriptPubKeyIn);
/** Modify the extranonce in a block */
void IncrementExtraNonce(CBlock* pblock, const CBlockIndex* pindexPrev, unsigned int& nExtraNonce);
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev);