[tor-bugs] #28600 [Core Tor/sbws]: Refactor: store the minimum of the bandwidth values from the consenus in the results

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 29 19:33:43 UTC 2018


#28600: Refactor: store the minimum of the bandwidth values from the consenus in
the results
---------------------------+------------------------
 Reporter:  juga           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #25925         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------

Comment (by juga):

 pytorctl is a different repo that torflow, relaylist and generate are in
 the same one.
 Also, the name of the variable in pytorctl didn't correspond to what it
 was doing.
 If relaylist would have just one bandwidth attribute or method called
 something like minimum_descriptor_consensus_bandwidth, it would be more
 obvious.
 However, i've thinking about other refactoring to don't have to repeat all
 the bandwidth variables in relaylist, resultdump and v3bwfile, i'll open
 other ticket and explain it there.

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


More information about the tor-bugs mailing list