Skip to main content

ATTEMPT_TIMEOUT

Constant ATTEMPT_TIMEOUT 

Source
const ATTEMPT_TIMEOUT: Duration;
Expand description

Upper bound for a single discover attempt in wait_for_peer, so a lost message cannot stall the wait. Must stay longer than the Noise handshake timeout (2s), so a handshake finishes or fails on its own first.