zebrad::components::sync

Constant PEER_GOSSIP_DELAY

source
pub const PEER_GOSSIP_DELAY: Duration;
Expand description

Controls how long we wait between gossiping successive blocks or transactions.

§Correctness

If this timeout is set too high, blocks and transactions won’t propagate through the network efficiently.

If this timeout is set too low, the peer set and remote peers can get overloaded.