From: Nick Mathewson Date: Mon, 16 Apr 2007 04:18:06 +0000 (+0000) Subject: r12386@catbus: nickm | 2007-04-15 23:55:34 -0400 X-Git-Tag: tor-0.2.0.1-alpha~273 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108f1c255fff37188e7eebfc0f797b4301b04ac2;p=thirdparty%2Ftor.git r12386@catbus: nickm | 2007-04-15 23:55:34 -0400 Document multiplicity on some router elements better. svn:r9964 --- diff --git a/doc/spec/dir-spec.txt b/doc/spec/dir-spec.txt index be13e4ce8c..8a5d1e95e7 100644 --- a/doc/spec/dir-spec.txt +++ b/doc/spec/dir-spec.txt @@ -150,10 +150,16 @@ $Id$ Every router descriptor MUST start with a "router" Item; MUST end with a "router-signature" Item and an extra NL; and MUST contain exactly one instance of each of the following Items: "published" "onion-key" - "link-key" "signing-key" "bandwidth". Additionally, a router descriptor - MAY contain any number of "accept", "reject", "fingerprint", "uptime", and - "opt" Items. Other than "router" and "router-signature", the items may - appear in any order. + "link-key" "signing-key" "bandwidth". + + A router descriptor MAY have zero or one of each of the following Items, + but MUST NOT have more than one: "contact", "uptime", "fingerprint", + "hibernating", "read-history", "write-history", "eventdns", "platform", + "family". + + Additionally, a router descriptor MAY contain any number of "accept", + "reject", and "opt" Items. Other than "router" and "router-signature", + the items may appear in any order. The items' formats are as follows: "router" nickname address ORPort SocksPort DirPort