[tor-bugs] #9889 [Atlas]: Add "Tshirt: yes/no" to Atlas and Globe
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Mar 14 20:46:07 UTC 2014
#9889: Add "Tshirt: yes/no" to Atlas and Globe
-----------------------------+---------------------
Reporter: arma | Owner: hellais
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Atlas | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+---------------------
Changes (by sreenatha):
* cc: sreenatha.dev@… (added)
Comment:
Hi. I've written a python script to address this issue.
https://github.com/lucyd/weather-rewrite/blob/master/tshirt.py
Some minor points regarding the script :
* In an attempt to make the script modular, I've designed it to make
atmost 3 onionoo requests in total(2 for details document and 1 for
bandwidth document). This can be brought down to 2(1 for details document
and 1 for bandwidth document).
* Considered 2 months as 2 * 30 * 86400 seconds i.e, 60 days.
* Used Atlas's logic of considering 'last_restarted' field in relay's
details document to calculate the uptime.
* Null values have been assumed to be represented as 'null' in the
onionoo documents.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9889#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list