aboutsummaryrefslogtreecommitdiff
path: root/doc/spec
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2008-08-05 18:54:23 +0000
committerPeter Palfrader <peter@palfrader.org>2008-08-05 18:54:23 +0000
commit0cfb68454e8ac7097c9784f76ec174e1bc0cede1 (patch)
tree146d004e39e706130b84a685eeb5a889871f2ad6 /doc/spec
parent4cb2adcd4fc64b7e797a7eb5f4871a9b856f198b (diff)
downloadtor-0cfb68454e8ac7097c9784f76ec174e1bc0cede1.tar.gz
tor-0cfb68454e8ac7097c9784f76ec174e1bc0cede1.zip
Document that we break ties in favor of smaller SD digest if there are still ties after comparing the published timestamp
svn:r16432
Diffstat (limited to 'doc/spec')
-rw-r--r--doc/spec/dir-spec.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/spec/dir-spec.txt b/doc/spec/dir-spec.txt
index e7f007d6fc..88d406f7e7 100644
--- a/doc/spec/dir-spec.txt
+++ b/doc/spec/dir-spec.txt
@@ -1145,8 +1145,9 @@ $Id$
* Two router entries are "the same" if they have the same
<descriptor digest, published time, nickname, IP, ports> tuple.
We choose the tuple for a given router as whichever tuple appears
- for that router in the most votes. We break ties in favor of
- the more recently published.
+ for that router in the most votes. We break ties first in favor of
+ the more recently published, then in favor of smaller server
+ descriptor digest.
* The Named flag appears if it is included for this routerstatus by
_any_ authority, and if all authorities that list it list the same