diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-01-06 06:32:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-01-06 06:32:59 +0000 |
commit | 03d6e98111e8fcedcc26c72f2168cc0768f9e6ef (patch) | |
tree | ac75cf29ffabc77f238b59b40d709239e62d06d7 | |
parent | d6073cc7fa63f69b8fd657ab38402f25ca06296f (diff) | |
download | tor-03d6e98111e8fcedcc26c72f2168cc0768f9e6ef.tar.gz tor-03d6e98111e8fcedcc26c72f2168cc0768f9e6ef.zip |
r11868@Kushana: nickm | 2007-01-06 01:32:55 -0500
Document how we set Guard a little better.
svn:r9283
-rw-r--r-- | doc/dir-spec.txt | 5 | ||||
-rw-r--r-- | src/or/dirserv.c | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/dir-spec.txt b/doc/dir-spec.txt index 2cbc7b981e..70c164af32 100644 --- a/doc/dir-spec.txt +++ b/doc/dir-spec.txt @@ -450,7 +450,10 @@ $Id$ known running, valid routers. "Guard" -- A router is a possible 'Guard' if it is 'Stable' and its - bandwidth is above median for known running, valid routers. + bandwidth is above median for known running, valid routers. If the total + bandwidth of Running Valid non-BadExit Exit servers is less than one third + of the total bandwidth of all Running Valid servers, no Exit is listed as + a Guard. "Authority" -- A router is called an 'Authority' if the authority generating the network-status document believes it is an authority. diff --git a/src/or/dirserv.c b/src/or/dirserv.c index c7f0462a3e..0515878e04 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1362,7 +1362,6 @@ dirserv_compute_performance_thresholds(routerlist_t *rl) total_bandwidth += *bw; if (ri->is_exit && !ri->is_bad_exit) total_exit_bandwidth += *bw; - /* XXXX012 Document the one-third behavior in dir-spec.txt. */ smartlist_add(bandwidths, bw); } }); |