aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-04 19:45:14 +0100
committertv <tv@krebsco.de>2026-11-04 19:45:14 +0100
commit07ef1e4e562d977e72f0a6b702736ae3645b45c7 (patch)
treec48b0917f602d63f95ef195c899069a16380eefb /docs
parentd2c1fb0b87a4c74a7f18ec9ad0a62e2c195523a0 (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/peers.md5
1 files changed, 4 insertions, 1 deletions
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