diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-04 19:19:01 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-04 19:19:01 +0000 |
commit | bb6f53d60c78ad8d747bd48cb621083fe1de6bad (patch) | |
tree | f3eb9fb510ca1a417c4c5dfd2242253ade7f11e4 /doc/spec | |
parent | 32d12dcfbc02bc2e8c65bbed4e10f990fc41b77c (diff) | |
download | tor-bb6f53d60c78ad8d747bd48cb621083fe1de6bad.tar.gz tor-bb6f53d60c78ad8d747bd48cb621083fe1de6bad.zip |
r13243@catbus: nickm | 2007-06-04 15:17:15 -0400
Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack.
svn:r10489
Diffstat (limited to 'doc/spec')
-rw-r--r-- | doc/spec/dir-spec.txt | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/spec/dir-spec.txt b/doc/spec/dir-spec.txt index 2301714938..a34496a5ed 100644 --- a/doc/spec/dir-spec.txt +++ b/doc/spec/dir-spec.txt @@ -754,12 +754,12 @@ $Id$ The authority section of a vote contains the following items, followed in turn by the authority's current key certificate: - "dir-source" SP nickname SP identity SP address SP IP SP dirport NL + "dir-source" SP nickname SP identity SP address SP IP SP dirport SP orport NL [Exactly once, at start] Describes this authority. The nickname is a convenient identifier - for the authority. The identity is a hex fingerprint of the + for the authority. The identity is an uppercase hex fingerprint of the authority's current identity key. The address is the server's hostname. The IP is the server's current IP address, and dirport is its current directory port. @@ -772,11 +772,11 @@ $Id$ server's administrator. Administrators should include at least an email address and a PGP fingerprint. - The authority section of a consensus contains groups the following - items, in the order given, with one group for each authority that - contributed to the consensus: + The authority section of a consensus contains groups the following items, + in the order given, with one group for each authority that contributed to + the consensus, with groups sorted by authority identity digest: - "dir-source" SP nickname SP address SP IP SP dirport NL + "dir-source" SP nickname SP identity SP address SP IP SP dirport SP orport NL [Exactly once, at start] @@ -792,15 +792,15 @@ $Id$ [Exactly once.] - A hex fingerprint, without spaces, of the authority's current - identity key. + An upper-case hex fingerprint, without spaces, of the authority's + current identity key. "vote-digest" SP digest NL [Exactly once.] A digest of the vote from the authority that contributed to this - consensus. + consensus. (Hex, upper-case.) Each router status entry contains the following items. Router status entries are sorted in ascending order by identity digest. @@ -962,6 +962,9 @@ $Id$ authorities among the voters, breaking ties in favor of the one with the most recent publication time. + (XXXX what to do about version, published time, IP, orport, dirport, + nickname, version?) + The signatures at the end of the document appear are sorted in ascending order by identity digest. |