[tor-bugs] #29333 [Core Tor/Stem]: Use the bandwidth-file-spec.txt keywords as BandwidthFile attributes

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 5 09:13:57 UTC 2019


#29333: Use the bandwidth-file-spec.txt keywords as BandwidthFile attributes
-------------------------------+------------------------
     Reporter:  juga           |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Stem  |    Version:
     Severity:  Normal         |   Keywords:  tor-bwauth
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+------------------------
 `BandwidthFile` descriptor was implemented in #29056.
 Some of name of the header attributes correspond to the keywords in the
 bandwidth-file-spec.txt, but not all.
 Since we might change the keywords, the implementation might be easier to
 follow the keywords using the same name for the attributes.
 Currently these attributes are:
 {{{
 consensus_size
 eligible_count
 eligible_percent
 min_count
 min_percent
 }}}

 Also, `measurements` should be named `bandwidth_lines` according to the
 specification. The bandwidth lines might not be raw measurements, but
 scaled.

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


More information about the tor-bugs mailing list