mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
fb3704b459
Our original code for parsing these parameters out of our list of parameters pre-dated us having the dirvote_get_intermediate_param_value() function... and it was buggy. Specifically, it would reject any " ... K=V ..." value where there were additional unconverted characters after the V, and use the default value instead, We haven't run into this yet because we've never voted for bwweightscale to be anything besides the default 10000, or maxunmeasuredbw to be anything besides the default 20. This requires a new consensus method because it is a change in how consensuses are computed. Fixes bug 19011; bugfix on 0.2.2.10-alpha.
8 lines
410 B
Plaintext
8 lines
410 B
Plaintext
o Minor bugfixes (directory authorities, voting):
|
|
- Add a new consensus method (31) to support any future changes that
|
|
authorities decide to make to the value of bwweightscale or
|
|
maxunmeasuredbw. Previously, there was a bug that prevented the
|
|
authorities from parsing these consensus parameters correctly under
|
|
most circumstances.
|
|
Fixes bug 19011; bugfix on 0.2.2.10-alpha.
|