Function gossip_mempool_transaction_id

Source
pub async fn gossip_mempool_transaction_id<ZN>(
    receiver: Receiver<MempoolChange>,
    broadcast_network: ZN,
) -> Result<(), BoxError>
where ZN: Service<Request, Response = Response, Error = BoxError> + Send + Clone + 'static, ZN::Future: Send,
Expand description

Runs continuously, gossiping new UnminedTxId to peers.

Broadcasts any new UnminedTxIds that are stored in the mempool to multiple ready peers.