From 12029d01ddbbf49ba1d16ddeb6ec25b56eba427c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 12 Mar 2022 08:05:26 +0100 Subject: also consider HELLOs encountered as PUTs, not just as RESULTS --- draft-schanzen-r5n.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index edf46dc..f59e47b 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml @@ -1382,6 +1382,17 @@ bchar = *(ALPHA / DIGIT) flag ist set, the message MUST be stored locally in the block storage. +
  • + If the MTYPE of the message indicates a HELLO block, the + peer MUST be considered for the local routing + table if the respective k-bucket is not yet full. In this case, + the local peer MUST try to establish a connection + to the peer indicated in the HELLO block using the address information + from the HELLO block. If a connection is established, + the peer is added to the respective k-bucket of the routing table. + Note that the k-bucket MUST be determined by the + key computed using DeriveBlockKey and not by the QUERY_HASH. +
  • Given the value in REPL_LVL, HOPCOUNT and the result of IsClosestpeer(SELF, BLOCK_KEY) the number of peers to -- cgit v1.2.3