From e10d8448adf4a7e18d78f7aeb0eb292b682b79d1 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Wed, 4 Jul 2018 17:43:42 +0100 Subject: [PATCH] pongs --- doc/wire-protocol.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/wire-protocol.md b/doc/wire-protocol.md index 1396513f..ab69639f 100644 --- a/doc/wire-protocol.md +++ b/doc/wire-protocol.md @@ -76,7 +76,18 @@ Sent by a leaf when performing a search. Contains the reply-to b64 destination ### Ultrapeer to leaf -The only message sent from an ultrapeer to leaf is the "Search" message which is identical to the one sent from a leaf. +The "Search" message is also sent from an ultrapeer to a leaf. + +#### Pong + +A message containing addresses of other ultrapeers that the leaf is suggested to connect to. +``` +{ + type: "Pong", + version: 1, + pongs: [ "b64.1", "b64.2" ... ] +} +``` ### Between Ultrapeers