aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2022-12-20 12:49:25 -0500
committerNick Mathewson <nickm@torproject.org>2022-12-20 12:49:25 -0500
commite66dd71facedd63bbd5e82fd440249afc358295c (patch)
treeaead2a1d0f84c93589aeff027957180a033871c5 /dir-spec.txt
parent372730940f916933447f56da7f12167c79c86c4f (diff)
downloadtorspec-e66dd71facedd63bbd5e82fd440249afc358295c.tar.gz
torspec-e66dd71facedd63bbd5e82fd440249afc358295c.zip
Clarify that SRV is 256 bits.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index d2f6c4e..ee36100 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -2115,8 +2115,9 @@ Table of Contents
this value, and see section [CONS] for why we include old shared random
values in votes and consensus.
- Value is the actual shared random value encoded in base64. NumReveals
- is the number of commits used to generate this SRV.
+ Value is the actual shared random value encoded in base64. It will
+ be exactly 256 bits long. NumReveals is the number of commits used
+ to generate this SRV.
"shared-rand-current-value" SP NumReveals SP Value NL
@@ -2133,8 +2134,9 @@ Table of Contents
See section [SRCALC] of srv-spec.txt for instructions on how to compute
this value given the active commits.
- Value is the actual shared random value encoded in base64. NumReveals
- is the number of commits used to generate this SRV.
+ Value is the actual shared random value encoded in base64. It will
+ be exactly 256 bits long. NumReveals is the number of commits used to
+ generate this SRV.
"bandwidth-file-headers" SP KeyValues NL