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

[tor-bugs] #31121 [Core Tor/Tor]: Use publish-subscribe system in more places



#31121: Use publish-subscribe system in more places
-------------------------------+------------------------------
     Reporter:  nickm          |      Owner:  (none)
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+------------------------------
 Some likely code that we could replace includes:

  * directory_info_has_arrived
  * note_that_we_have_completed_a_circuit
  * note_that_we_maybe_cant_complete_circuits

  * circuit_has_opened()

  * All "we got a new consensus" events:
      * notify_before_networkstatus_changes
      * notify_after_networkstatus_changes

   * clock jump events:
     * circuit_note_clock_jumped
     * netstatus_note_clock_jumped

 There are probably more!

 As we do these, we should open subtickets, and not try to do them all as a
 part of this ticket.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31121>
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