[tor-bugs] #29721 [Core Tor/sbws]: Refactor RelayList

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 10 09:07:11 UTC 2019


#29721: Refactor RelayList
-------------------------------+-------------------------------
     Reporter:  juga           |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  sbws: unspecified
    Component:  Core Tor/sbws  |    Version:  sbws: 1.0.5
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:  #28684
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+-------------------------------
 Refactor 1:
 It should probably have a dictionary of relays instead of a list, so that
 it is not needed to convert the list to dictionary in resultdump.
 It should be then named `Relays` or `RelayDict`
 In https://github.com/torproject/sbws/issues/219 it was proposed to change
 the list to a set, but that's only used to exclude authorities in the
 prioritizer, which should also be a method in RelayList.

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


More information about the tor-bugs mailing list