diff options
Diffstat (limited to 'dir-spec.txt')
-rw-r--r-- | dir-spec.txt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/dir-spec.txt b/dir-spec.txt index 7d779b6..db64b5d 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -487,6 +487,12 @@ Table of Contents accepted and ignored. Many of the nonterminals below are defined in section 2.1.3. + Note that many versions of Tor will generate an extra newline at the + end of their descriptors. Implementations MUST tolerate one or + more blank lines at the end of a single descriptor or a list of + concatenated descriptors. New implementations SHOULD NOT generate + such blank lines. + "router" nickname address ORPort SOCKSPort DirPort NL [At start, exactly once.] @@ -2115,8 +2121,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 +2140,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 |