[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0004] branch master updated: -more clarifications
From: |
gnunet |
Subject: |
[lsd0004] branch master updated: -more clarifications |
Date: |
Sat, 12 Mar 2022 03:35:00 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository lsd0004.
The following commit(s) were added to refs/heads/master by this push:
new b2a8e64 -more clarifications
b2a8e64 is described below
commit b2a8e6485ecf268dd629fd7cbd1121103c3430c2
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Mar 12 03:34:54 2022 +0100
-more clarifications
---
draft-schanzen-r5n.xml | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml
index 412c460..746003a 100644
--- a/draft-schanzen-r5n.xml
+++ b/draft-schanzen-r5n.xml
@@ -1721,13 +1721,17 @@ bchar = *(ALPHA / DIGIT)
<li>
If the <tt>BTYPE</tt> is supported, then the <tt>BLOCK</tt>
<bcp14>MUST</bcp14> be validated against the
- requested <tt>BTYPE</tt>. To do this, the peer attempts to
compute the
- key using <tt>DeriveBlockKey</tt>. Note that the computed key
- does not have to match the <tt>QUERY_HASH</tt>. Next, the peer
+ requested <tt>BTYPE</tt>. To do this, the peer
checks that the block is valid using
<tt>ValidateBlockStoreRequest</tt>.
If the result is <tt>BLOCK_INVALID</tt>, the message
<bcp14>MUST</bcp14> be
discarded.
</li>
+ <li>
+ The peer also attempts to compute the
+ key using <tt>DeriveBlockKey</tt>. This may result in
<tt>NONE</tt>.
+ The result is used later. Note that even if a key was computed,
it
+ does not have to match the <tt>QUERY_HASH</tt>.
+ </li>
<li>
If the sender of the message is already found on the
<tt>GETPATH</tt>, the path <bcp14>MUST</bcp14> be truncated at
this position.
@@ -1741,6 +1745,8 @@ bchar = *(ALPHA / DIGIT)
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 <bcp14>MUST</bcp14> be determined by the
+ key computed using <tt>DeriveBlockKey</tt> and not by the
<tt>QUERY_HASH</tt>.
</li>
<li>
<t>
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lsd0004] branch master updated: -more clarifications,
gnunet <=