pub fn generate_coinbase_and_roots(
    network: &Network,
    block_template_height: Height,
    miner_address: &Address,
    mempool_txs: &[VerifiedUnminedTx],
    history_tree: Arc<HistoryTree>,
    like_zcashd: bool,
    extra_coinbase_data: Vec<u8>
) -> (TransactionTemplate<NegativeOrZero>, DefaultRoots)
Expand description

Generates and returns the coinbase transaction and default roots.

If like_zcashd is true, try to match the coinbase transactions generated by zcashd in the getblocktemplate RPC.