zebra_chain::transaction::arbitrary

Function transactions_from_blocks

source
pub fn transactions_from_blocks<'a>(
    blocks: impl DoubleEndedIterator<Item = (&'a u32, &'a &'static [u8])> + 'a,
) -> impl DoubleEndedIterator<Item = (Height, Arc<Transaction>)> + 'a
Expand description

Generate an iterator over (block::Height, Arc<Transaction>).