Module zebrad::components::mempool::gossip
source · Expand description
A task that gossips any zebra_chain::transaction::UnminedTxId
that enters the mempool to peers.
This module is just a function gossip_mempool_transaction_id
that waits for mempool
insertion events received in a channel and broadcasts the transactions to peers.
Constants§
- The maximum number of channel messages we will combine into a single peer broadcast.
Functions§
- Runs continuously, gossiping new
UnminedTxId
to peers.