[tor-commits] [torspec/master] prop250: Add the Version field to a commit

dgoulet at torproject.org dgoulet at torproject.org
Thu May 12 17:44:14 UTC 2016


commit 6945958d997401511fc6dcd36c4e37a6233f2a11
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Thu May 12 13:43:47 2016 -0400

    prop250: Add the Version field to a commit
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 proposals/250-commit-reveal-consensus.txt | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/proposals/250-commit-reveal-consensus.txt b/proposals/250-commit-reveal-consensus.txt
index cd19b4c..0e7675e 100644
--- a/proposals/250-commit-reveal-consensus.txt
+++ b/proposals/250-commit-reveal-consensus.txt
@@ -423,14 +423,15 @@ Supersedes: 225
    seen from the other authorities. To do so, it includes the following in its
    votes:
 
-      "shared-rand-commit" SP ALGNAME SP IDENTITY SP COMMIT [SP REVEAL] NL
+      "shared-rand-commit" SP VERSION SP ALGNAME SP IDENTITY SP COMMIT [SP REVEAL] NL
 
-   where IDENTITY is the authority's SHA1 identity fingerprint and COMMIT is the
-   encoded commit [COMMITREVEAL].  Authorities during the reveal phase can also
-   optionally include an encoded reveal value REVEAL.  There MUST be only one
-   line per authority else the vote is considered invalid. Finally, the ALGNAME
-   is the hash algorithm that should be used to compute COMMIT and REVEAL which
-   is "sha3-256" for version 1.
+   where VERSION is the version of the protocol the commit was created with.
+   IDENTITY is the authority's SHA1 identity fingerprint and COMMIT is the
+   encoded commit [COMMITREVEAL].  Authorities during the reveal phase can
+   also optionally include an encoded reveal value REVEAL.  There MUST be only
+   one line per authority else the vote is considered invalid. Finally, the
+   ALGNAME is the hash algorithm that should be used to compute COMMIT and
+   REVEAL which is "sha3-256" for version 1.
 
 4.1.5. Shared Random Value [SRVOTE]
 
@@ -481,7 +482,7 @@ Supersedes: 225
    The following details the commitment and reveal section. They are encoded
    the same as in the vote. This makes it easier for implementation purposes.
 
-     "Commit" SP algname SP identity SP commit [SP reveal] NL
+     "Commit" SP version SP algname SP identity SP commit [SP reveal] NL
 
         [Exactly once per authority]
 



More information about the tor-commits mailing list