fn add_some_stuff_to_mempool(
    mempool_service: &mut Mempool,
    network: Network,
) -> Vec<VerifiedUnminedTx> {
    // get the genesis block coinbase transaction from the Zcash blockchain.
    let genesis_transactions: Vec<_> = unmined_transactions_in_blocks(..=0, network)
        .take(1)
        .collect();

    // Insert the genesis block coinbase transaction into the mempool storage.
    mempool_service
        .storage()
        .insert(genesis_transactions[0].clone())
        .unwrap();

    genesis_transactions
}
/// Manually add a transaction to the mempool storage.
///
/// Skips some mempool functionality, like transaction verification and peer broadcasts.
Manually add a transaction to the mempool storage.
Skips some mempool functionality, like transaction verification and peer broadcasts.
Manually add a transaction to the mempool storage . Skips some mempool functionality like transaction verification and peer broadcasts .
fn add_some_stuff_to_mempool(
    mempool_service: &mut Mempool,
    network: Network,
) -> Vec<VerifiedUnminedTx> {
    // get the genesis block coinbase transaction from the Zcash blockchain.
    let genesis_transactions: Vec<_> = unmined_transactions_in_blocks(..=0, network)
        .take(1)
        .collect();
    // Insert the genesis block coinbase transaction into the mempool storage.
    mempool_service
        .storage()
        .insert(genesis_transactions[0].clone())
        .unwrap();
    genesis_transactions
}
fn add_some_stuff_to_mempool ( mempool_service : & mut Mempool , network : Network , ) -> Vec < VerifiedUnminedTx > { // get the genesis block coinbase transaction from the Zcash blockchain. let genesis_transactions : Vec < _ > = unmined_transactions_in_blocks ( .. = 0 , network ) . take ( 1 ) . collect ( ) ; // Insert the genesis block coinbase transaction into the mempool storage. mempool_service . storage ( ) . insert ( genesis_transactions [ 0 ] . clone ( ) ) . unwrap ( ) ; genesis_transactions }
Manually add a transaction to the mempool storage.
Manually add a transaction to the mempool storage .
mempool_service
&mut Mempool
network
Network