Opened 6 weeks ago

Last modified 4 weeks ago

#31121 new enhancement

Use publish-subscribe system in more places

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: network-team-roadmap-october
Cc: nickm Actual Points:
Parent ID: Points: 20
Reviewer: Sponsor: Sponsor31-can

Description

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.

Child Tickets

Change History (1)

comment:1 Changed 4 weeks ago by gaba

Cc: nickm added
Keywords: network-team-roadmap-october added
Points: 20
Note: See TracTickets for help on using tickets.