aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorAndrew Toth <andrewstoth@gmail.com>2020-03-27 11:00:10 -0400
committerAndrew Toth <andrewstoth@gmail.com>2020-03-27 11:00:10 -0400
commitdcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e (patch)
treeee8fdeb4cb550416b1141d6a590ce53e83ca4696 /src/miner.h
parente3154aacf444a29f9f5642b6c937e875ab9a2c13 (diff)
downloadbitcoin-dcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e.tar.xz
Add generateblock rpc
Diffstat (limited to 'src/miner.h')
-rw-r--r--src/miner.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/miner.h b/src/miner.h
index cc8fc31a9f..b9ffb34a2d 100644
--- a/src/miner.h
+++ b/src/miner.h
@@ -203,4 +203,7 @@ private:
void IncrementExtraNonce(CBlock* pblock, const CBlockIndex* pindexPrev, unsigned int& nExtraNonce);
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev);
+/** Update an old GenerateCoinbaseCommitment from CreateNewBlock after the block txs have changed */
+void RegenerateCommitments(CBlock& block);
+
#endif // BITCOIN_MINER_H