From 07ef1e4e562d977e72f0a6b702736ae3645b45c7 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 4 Nov 2026 19:45:14 +0100 Subject: hello again when heard from While we wait for a peer's HELLO_REPLY, anything else that comes from it makes our HELLO go again at once, at most once a second, instead of when the backoff says. --- docs/peers.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/peers.md') diff --git a/docs/peers.md b/docs/peers.md index be04b16..cacceb5 100644 --- a/docs/peers.md +++ b/docs/peers.md @@ -114,7 +114,10 @@ With a swarm key (`--swarm-key-file`), every HELLO and HELLO_REPLY carries until then everything else it sends is ignored, and a handshake without a valid proof gets no answer at all. -Retries: an unanswered HELLO is resent after 1 s, doubling up to 30 s. To an +Retries: an unanswered HELLO is resent after 1 s, doubling up to 30 s, but at once +(at most every second) when anything else comes from the peer meanwhile: it is up and +reaches us, so the HELLO or its reply was lost, and waiting out the backoff (or a +probe's) would only delay the handshake. To an unreachable peer (dormant, or three unanswered HELLOs) it is a probe: after `dormant_probe`, doubling up to 6 × `dormant_probe` (or `--dormant-probe-max`, which is every wait if shorter); members get probes even when they -- cgit v1.3.1