pub const DEFAULT_CRAWL_NEW_PEER_INTERVAL: Duration;
Expand description

The default peer address crawler interval.

This should be at least HANDSHAKE_TIMEOUT lower than all other crawler intervals.

This makes the following sequence of events more likely:

  1. a peer address crawl,
  2. new peer connections,
  3. peer requests from other crawlers.

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