gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lsd0004] branch master updated: fix hello sig


From: gnunet
Subject: [lsd0004] branch master updated: fix hello sig
Date: Wed, 12 Jan 2022 23:45:56 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository lsd0004.

The following commit(s) were added to refs/heads/master by this push:
     new 0619622  fix hello sig
0619622 is described below

commit 061962246d49eadbabedbc6055c8c6b30d661f59
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Jan 12 23:45:52 2022 +0100

    fix hello sig
---
 draft-schanzen-r5n.xml | 37 +++++++++++++++----------------------
 1 file changed, 15 insertions(+), 22 deletions(-)

diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml
index c3a6c87..2bab991 100644
--- a/draft-schanzen-r5n.xml
+++ b/draft-schanzen-r5n.xml
@@ -1358,26 +1358,16 @@ Connectivity | |Underlay|  |Underlay|
 +-----+-----+-----+-----+-----+-----+-----+-----+
 |         SIZE (0x30)   |       PURPOSE (0x03)  |
 +-----+-----+-----+-----+-----+-----+-----+-----+
-|  MSIZE    |   MTYPE   |    0x00   |   NADDR   |
-+-----+-----+-----+-----+-----+-----+-----+-----+
-|                     PEER-ID                   |
-|                    (32 byte)                  |
-|                                               |
-|                                               |
+|                   EXPIRATION                  |
 +-----+-----+-----+-----+-----+-----+-----+-----+
-|                    SIGNATURE                  |
-|                    (64 byte)                  |
+|                   H_ADDRS                     |
+|                  (64 byte)                    |
 |                                               |
 |                                               |
 |                                               |
 |                                               |
 |                                               |
 |                                               |
-+-----+-----+-----+-----+-----+-----+-----+-----+
-|                   EXPIRATION                  |
-+-----+-----+-----+-----+-----+-----+-----+-----+
-/                   ADDRESSES                   /
-/               (variable length)               /
 +-----+-----+-----+-----+-----+-----+-----+-----+
            ]]></artwork>
           </figure>
@@ -1393,20 +1383,23 @@ Connectivity | |Underlay|  |Underlay|
               A 32-bit signature purpose flag. This field MUST be 3 (in network
               byte order).
             </dd>
-            <dt>MSIZE</dt>
-            <dd>
-              The 16-bit message size (FIXME Why).
-            </dd>
-            <dt>MTYPE</dt>
+            <dt>EXPIRATION</dt>
             <dd>
-              the 16-bit message type (FIXME Why).
+              denotes the absolute 64-bit expiration date of the HELLO.
+              In microseconds since midnight (0 hour), January 1, 1970 in 
network
+              byte order.
             </dd>
-            <dt>NADDR</dt>
+            <dt>H_ADDRS</dt>
             <dd>
-              the number of addresses in the block. In network byte order.
+              a hash over the addresses in the HELLO.
             </dd>
           </dl>
-
+          <t>
+            The hash over all addresses is generated as follows:
+          </t>
+          <sourcecode>
+SHA512(address0 | address1 | ... | addressN) FIXME we hash \0
+          </sourcecode>
           <t>
             A HELLO reply block MAY be empty. Otherwise, it contains the
             HELLO of a node.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]