[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs