From bf1d4905e861514f5d4e1e2fc18d153b478a6962 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Fri, 6 Jul 2018 05:22:37 +0100 Subject: [PATCH] HostCache responses are in JSON --- doc/design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/design.md b/doc/design.md index a3094ee0..25017acb 100644 --- a/doc/design.md +++ b/doc/design.md @@ -4,7 +4,7 @@ Initial bootstrap into the MuWire network is done in a similar fashion to Gnutella. Dedicated bootstrap servers ("HostCaches") listen for incoming I2P Datagrams which contain requests for addresses of ultrapeers. The incoming signed datagram has a flag whether the requesting node is an ultrapeer or a leaf; if the node claims to be an ultrapeer it may be added to the list of known ultrapeers by the HostCache. Implementors of HostCaches are free to choose other discovery strategies such as crawling, active polling and so on. -In response to the request, the HostCache sends back an I2P datagram containing b64 destinations of selected ultrapeers. +In response to the request, the HostCache sends back an I2P datagram containing b64 destinations of chosen ultrapeers. For ease of implementation, the response datagram is also signed and it's payload is JSON. ### Connectivity to peers