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