Constant zebra_network::constants::MIN_PEER_GET_ADDR_INTERVAL

source ·
pub const MIN_PEER_GET_ADDR_INTERVAL: Duration;
Expand description

The minimum time between successive calls to CandidateSet::update.

Using a prime number makes sure that peer address crawls don’t synchronise with other crawls.

§Security

Zebra resists distributed denial of service attacks by making sure that requests for more peer addresses are sent at least MIN_PEER_GET_ADDR_INTERVAL apart.