aboutsummaryrefslogtreecommitdiffstats
path: root/docs/peers.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-05 03:49:13 +0100
committertv <tv@krebsco.de>2026-11-05 03:49:13 +0100
commita9fb4e6890bfaef1e25cdceb4eea9c997e3c7cdf (patch)
tree8402deb8c70a033b1a323a10ab88c0bed3a339a8 /docs/peers.md
parent11d098477cfc76da0bc4385635e4c4b7124a9259 (diff)
no swarm ID in sync
Diffstat (limited to 'docs/peers.md')
-rw-r--r--docs/peers.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/peers.md b/docs/peers.md
index 0f7635e..e86e530 100644
--- a/docs/peers.md
+++ b/docs/peers.md
@@ -78,7 +78,8 @@ sequenceDiagram
```
One round trip makes both sides members of each other: the HELLO proves the sender's
-key, the reply the swarm ID and the responder's key. A new handshake resets the sync
+key, the reply the swarm ID and the responder's key. Sync messages don't repeat the
+swarm ID: the handshake bound the peer to it. A new handshake resets the sync
session on both sides; HELLOs carry the handshake's number, so a resent HELLO (its
reply was lost) or a late copy is answered without resetting again. A node that doesn't know its swarm
yet (it is joining itself) doesn't answer a HELLO; the sender retries.