Function zebra_rpc::methods::get_block_template_rpcs::get_block_template::combine_coinbase_outputs
source · fn combine_coinbase_outputs(
funding_streams: HashMap<FundingStreamReceiver, (Amount<NonNegative>, Address)>,
miner_address: &Address,
miner_reward: Amount<NonNegative>,
like_zcashd: bool
) -> Vec<(Amount<NonNegative>, Script)>
Expand description
Combine the miner reward and funding streams into a list of coinbase amounts and addresses.
If like_zcashd
is true, try to match the coinbase transactions generated by zcashd
in the getblocktemplate
RPC.