[tor-bugs] #28667 [Core Tor/sbws]: Obtain the new descriptors and network status documents by signals instead of every 5min
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 29 21:14:35 UTC 2018
#28667: Obtain the new descriptors and network status documents by signals instead
of every 5min
-------------------------------+--------------------
Reporter: juga | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/sbws | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+--------------------
The network status and descriptors are obtained every 5min
https://gitweb.torproject.org/sbws.git/tree/sbws/lib/relaylist.py#n144.
Is there any reason for that?.
I think torflow obtain them as they come.
It could be done with steam using:
{{{
controller.add_event_listener(
listener_fn, EventType.NS, EventType.NEWDESC)
}}}
Also, instead overwriting those values, Relay could have a dictionary (key
would be the timestamp) with a subset of the attributes of document, in
case we might need to calculate median/mean of those attributes
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28667>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list