]> git.ipfire.org Git - thirdparty/tor.git/commit
Tweak consensus method 17 based on arma's comments
authorNick Mathewson <nickm@torproject.org>
Tue, 22 May 2012 13:48:10 +0000 (09:48 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 19 Feb 2013 16:05:15 +0000 (11:05 -0500)
commite73bbea26271dd6db75ca5c676f3c4ba8fc735e4
tree78342452f8bb10737736209265e0e5901c48d5d3
parent1cd67443383966687af3b2f9086ceeb7915017bf
Tweak consensus method 17 based on arma's comments

Instead of capping whenever a router has fewer than 3 measurements,
we cap whenever a router has fewer than 3 measurements *AND* there
are at least 3 authorities publishing measured bandwidths.

We also generate bandwidth lines with a new "Unmeasured=1" flag,
meaning that we didn't have enough observations for a node to use
measured bandwidth values in the authority's input, whether we capped
it or not.
changes/bug2286 [new file with mode: 0644]
src/or/dirvote.c
src/or/or.h
src/or/routerparse.c