Function zebra_rpc::methods::get_block_template_rpcs::get_block_template::calculate_transaction_roots
source ยท pub fn calculate_transaction_roots(
coinbase_txn: &UnminedTx,
mempool_txs: &[VerifiedUnminedTx],
) -> (Root, AuthDataRoot)
Expand description
Returns the transaction effecting and authorizing roots
for coinbase_txn
and mempool_txs
, which are used in the block header.