From 30ba494ac0e32988f4f0ddb0accf4708cdcb913b Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Thu, 5 Jul 2018 14:16:15 +0100 Subject: [PATCH] specify ordering of bloom filter and patch messages --- doc/wire-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/wire-protocol.md b/doc/wire-protocol.md index 8e1a5d72..7c752e46 100644 --- a/doc/wire-protocol.md +++ b/doc/wire-protocol.md @@ -97,7 +97,7 @@ A message containing addresses of other ultrapeers that the leaf is suggested to The only JSON message that can travel between ultrapeers is the "Search" message which is identical to the one sent from a leaf. -There are two types of binary messages that can travel between ultrapeers: +There are two types of binary messages that can travel between ultrapeers - Bloom filter and Patch. Bloom filter should be the first message that is sent after establishing the connection, but that is not enforced. If any Patch messages arrive before any Bloom filter has been received, they are ignored. In the unlikely case that the size of a Patch message would exceed that of a complete Bloom filter the ultrapeer may choose to send a new Bloom filter which replaces the old one. #### Bloom filter