Module 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§

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 UnminedTxId to peers.