Function bitcoin_txmempool::generate_coinbase_commitment
source · pub fn generate_coinbase_commitment(
block: &mut Block,
pindex_prev: Arc<BlockIndex>,
consensus_params: &ChainConsensusParams
) -> Vec<u8> ⓘExpand description
| Produce the necessary coinbase commitment | for a block (modifies the hash, don’t | call for mined blocks). |