[tor-bugs] #20284 [Core Tor/Tor]: consensus weight case 2b3 does not follow dir-spec

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 30 10:06:45 UTC 2016


#20284: consensus weight case 2b3 does not follow dir-spec
-----------------------------+------------------------------------
 Reporter:  pastly           |          Owner:  pastly
     Type:  defect           |         Status:  needs_revision
 Priority:  Medium           |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor     |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:  review-group-11  |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------------

Comment (by teor):

 I wonder if the name `networkstatus_compute_bw_weights_v10` is confusing
 after this change.
 What it used to mean was: 'compute bandwidth weights using the method
 introduced at consensus method 10'. Now it means: 'if the consensus_method
 parameter is < 27, use the method introduced at consensus method 10,
 otherwise, use the method introduced at consensus method 27'.

 Maybe we could drop the v10 from the name, and document those semantics in
 the function header?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20284#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list