aboutsummaryrefslogtreecommitdiff
path: root/src/miner.h
diff options
context:
space:
mode:
authorAndrew Toth <[email protected]>2020-03-27 11:00:10 -0400
committerAndrew Toth <[email protected]>2020-03-27 11:00:10 -0400
commitdcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e (patch)
treeee8fdeb4cb550416b1141d6a590ce53e83ca4696 /src/miner.h
parentMerge #18445: tests: Add fuzzing harnesses for functions/classes in chain.h a... (diff)
downloaddiscoin-dcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e.tar.xz
discoin-dcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e.zip
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 cc8fc31a9..b9ffb34a2 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