commit 94f6baabad4953bbf1e4851972d9d4dc45398d56 Author: Nick Mathewson nickm@torproject.org Date: Tue Jan 31 13:53:04 2017 -0500
Describe better how we vote for the guard flag.
Closes 16852. --- dir-spec.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/dir-spec.txt b/dir-spec.txt index 0650074..d91f76f 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -2299,9 +2299,14 @@ "Fast" -- A router is 'Fast' if it is active, and its bandwidth is either in the top 7/8ths for known active routers or at least 100KB/s.
- "Guard" -- A router is a possible 'Guard' if its Weighted Fractional Uptime - is at least the median for "familiar" active routers, and if its bandwidth - is at least 2MB/s or is in the set of the 25% fastest relays. + "Guard" -- A router is a possible Guard if all of the following apply: + - It is Fast. + - It is Stable. + - Its Weighted Fractional Uptime is at least the median for "familiar" + active routers, + - It is "familiar", + - Its bandwidth is at least AuthDirGuardBWGuarantee (if set, 2 MB by + default), OR its bandwidth is among the 25% fastest relays.
To calculate weighted fractional uptime, compute the fraction of time that the router is up in any given day, weighting so that
tor-commits@lists.torproject.org