diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-08-10 17:12:12 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-08-10 17:34:58 +0200 |
commit | ce37a04ee016c0e1d075c41e58750abe597f4ebb (patch) | |
tree | e2cbc7e58cde1735371ea00c28628e9e054e6ba3 /src/miner.h | |
parent | c0f66ce44abdc44ddbff892720d5b85f6a95436d (diff) | |
parent | 69c3bde4480ebe28095f4399a29f9fc73567a1d3 (diff) | |
download | bitcoin-ce37a04ee016c0e1d075c41e58750abe597f4ebb.tar.xz |
Merge pull request #6538
69c3bde Add some const declarations where they are appropriate. (Daniel Kraft)
Diffstat (limited to 'src/miner.h')
-rw-r--r-- | src/miner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h index d690e9447d..7e0e58d540 100644 --- a/src/miner.h +++ b/src/miner.h @@ -29,7 +29,7 @@ void GenerateBitcoins(bool fGenerate, int nThreads, const CChainParams& chainpar /** Generate a new block, without valid proof-of-work */ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn); /** Modify the extranonce in a block */ -void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce); +void IncrementExtraNonce(CBlock* pblock, const CBlockIndex* pindexPrev, unsigned int& nExtraNonce); int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev); #endif // BITCOIN_MINER_H |