zebra_chain::transaction::arbitrary

Function fake_v5_transactions_for_network

source
pub fn fake_v5_transactions_for_network<'b>(
    network: &'b Network,
    blocks: impl DoubleEndedIterator<Item = (&'b u32, &'b &'static [u8])> + 'b,
) -> impl DoubleEndedIterator<Item = Transaction> + 'b
Expand description

Generate an iterator over fake V5 transactions.

These transactions are converted from non-V5 transactions that exist in the provided network blocks.