pub fn generate_coinbase_transaction(
network: &Network,
height: Height,
miner_address: &Address,
miner_fee: Amount<NonNegative>,
like_zcashd: bool,
extra_coinbase_data: Vec<u8>,
) -> UnminedTx
Expand description
Returns a coinbase transaction for the supplied parameters.
If like_zcashd
is true, try to match the coinbase transactions generated by zcashd
in the getblocktemplate
RPC.