Function zebrad::components::mempool::gossip::gossip_mempool_transaction_id
source ยท pub async fn gossip_mempool_transaction_id<ZN>(
receiver: Receiver<HashSet<UnminedTxId>>,
broadcast_network: ZN,
) -> Result<(), BoxError>
Expand description
Runs continuously, gossiping new UnminedTxId
to peers.
Broadcasts any new UnminedTxId
s that get stored in the mempool to multiple ready peers.