diff options
| author | tv <tv@krebsco.de> | 2026-11-05 03:49:13 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-05 03:49:13 +0100 |
| commit | a9fb4e6890bfaef1e25cdceb4eea9c997e3c7cdf (patch) | |
| tree | 8402deb8c70a033b1a323a10ab88c0bed3a339a8 /docs | |
| parent | 11d098477cfc76da0bc4385635e4c4b7124a9259 (diff) | |
no swarm ID in sync
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/peers.md | 3 |
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. |
