Produce the necessary coinbase commitment for a block (modifies the hash, don't call for mined blocks).
Synopsis
Declared in <validation.h>
void
GenerateCoinbaseCommitment(
CBlock& block,
CBlockIndex const* pindexPrev) const;
Parameters
Name |
Description |
block |
The block whose coinbase commitment is generated. |
pindexPrev |
Block index entry of the parent block. |
Created with MrDocs