diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-03-12 08:05:26 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-03-12 09:46:35 +0100 |
commit | 12029d01ddbbf49ba1d16ddeb6ec25b56eba427c (patch) | |
tree | 8124c0eec22dfbdd6ef1b96696c545fb43b09c96 | |
parent | 1ca92cf30534152e67a8e36f048fe7c30d8e183d (diff) | |
download | lsd0004-12029d01ddbbf49ba1d16ddeb6ec25b56eba427c.tar.gz lsd0004-12029d01ddbbf49ba1d16ddeb6ec25b56eba427c.zip |
also consider HELLOs encountered as PUTs, not just as RESULTS
-rw-r--r-- | draft-schanzen-r5n.xml | 11 |
1 files changed, 11 insertions, 0 deletions
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 | |||
@@ -1383,6 +1383,17 @@ bchar = *(ALPHA / DIGIT) | |||
1383 | be stored locally in the block storage. | 1383 | be stored locally in the block storage. |
1384 | </li> | 1384 | </li> |
1385 | <li> | 1385 | <li> |
1386 | If the <tt>MTYPE</tt> of the message indicates a HELLO block, the | ||
1387 | peer <bcp14>MUST</bcp14> be considered for the local routing | ||
1388 | table if the respective k-bucket is not yet full. In this case, | ||
1389 | the local peer <bcp14>MUST</bcp14> try to establish a connection | ||
1390 | to the peer indicated in the HELLO block using the address information | ||
1391 | from the HELLO block. If a connection is established, | ||
1392 | the peer is added to the respective k-bucket of the routing table. | ||
1393 | Note that the k-bucket <bcp14>MUST</bcp14> be determined by the | ||
1394 | key computed using <tt>DeriveBlockKey</tt> and not by the <tt>QUERY_HASH</tt>. | ||
1395 | </li> | ||
1396 | <li> | ||
1386 | Given the value in <tt>REPL_LVL</tt>, <tt>HOPCOUNT</tt> and the | 1397 | Given the value in <tt>REPL_LVL</tt>, <tt>HOPCOUNT</tt> and the |
1387 | result of <tt>IsClosestpeer(SELF, BLOCK_KEY)</tt> the number of peers to | 1398 | result of <tt>IsClosestpeer(SELF, BLOCK_KEY)</tt> the number of peers to |
1388 | forward to <bcp14>MUST</bcp14> be calculated | 1399 | forward to <bcp14>MUST</bcp14> be calculated |