zebrad::components::mempool::crawler

Constant RATE_LIMIT_DELAY

source
pub const RATE_LIMIT_DELAY: Duration;
Expand description

The delay between crawl events.

This should be less than the target block interval, so that we crawl peer mempools at least once per block.

Using a prime number makes sure that mempool crawler fanouts don’t synchronise with other crawls.