diff options
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. |
