zebrad::components::mempool::crawler

Constant PEER_RESPONSE_TIMEOUT

source
const PEER_RESPONSE_TIMEOUT: Duration;
Expand description

The time to wait for a peer response.

ยงCorrectness

If this timeout is removed or set too high, the crawler may hang waiting for a peer to respond.

If this timeout is set too low, the crawler may fail to populate the mempool.