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§
- MAX_
CHANGES_ BEFORE_ SEND - The maximum number of channel messages we will combine into a single peer broadcast.
Functions§
- gossip_
mempool_ transaction_ id - Runs continuously, gossiping new
UnminedTxIdto peers.