r11868@Kushana: nickm | 2007-01-06 01:32:55 -0500

Document how we set Guard a little better.


svn:r9283
This commit is contained in:
Nick Mathewson 2007-01-06 06:32:59 +00:00
parent d6073cc7fa
commit 03d6e98111
2 changed files with 4 additions and 2 deletions

View File

@ -450,7 +450,10 @@ $Id$
known running, valid routers. known running, valid routers.
"Guard" -- A router is a possible 'Guard' if it is 'Stable' and its "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 "Authority" -- A router is called an 'Authority' if the authority
generating the network-status document believes it is an authority. generating the network-status document believes it is an authority.

View File

@ -1362,7 +1362,6 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
total_bandwidth += *bw; total_bandwidth += *bw;
if (ri->is_exit && !ri->is_bad_exit) if (ri->is_exit && !ri->is_bad_exit)
total_exit_bandwidth += *bw; total_exit_bandwidth += *bw;
/* XXXX012 Document the one-third behavior in dir-spec.txt. */
smartlist_add(bandwidths, bw); smartlist_add(bandwidths, bw);
} }
}); });