diff options
author | Andrew Toth <andrewstoth@gmail.com> | 2020-03-27 11:00:10 -0400 |
---|---|---|
committer | Andrew Toth <andrewstoth@gmail.com> | 2020-03-27 11:00:10 -0400 |
commit | dcc8332543f8fb6d1bb47cb270fcbb6a814a7d6e (patch) | |
tree | ee8fdeb4cb550416b1141d6a590ce53e83ca4696 /src/miner.h | |
parent | e3154aacf444a29f9f5642b6c937e875ab9a2c13 (diff) |
Add generateblock rpc
Diffstat (limited to 'src/miner.h')
-rw-r--r-- | src/miner.h | 3 |
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 |