[tor-bugs] #33570 [Core Tor/sbws]: Correct the relays to keep after retrieving new consensuses
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Mar 9 12:49:20 UTC 2020
#33570: Correct the relays to keep after retrieving new consensuses
-------------------------------+-------------------------------
Reporter: juga | Owner: juga
Type: defect | Status: assigned
Priority: Medium | Milestone: sbws: 1.1.x-final
Component: Core Tor/sbws | Version: sbws: 1.1.0
Severity: Normal | Keywords: sbws-roadmap
Actual Points: | Parent ID: #30719
Points: | Reviewer:
Sponsor: |
-------------------------------+-------------------------------
When removing the old consensus timestamps, the oldest date is calculated
with timedelta without passing seconds, which was taking it as days,
making the oldest date very far in the past.
Recent timestamps are calculated as greater than the oldest date, instead
of minor, what would make to store many timestamps.
The most recent timestamp for a relay, was not being took into account,
because the router status was being updated after updating the timestamps.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33570>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list