-
- Downloads
Add stem.descriptor.get_bandwidth_file()
Tor now provides bandwidth files over its DirPort. Adding our corresponding function to download them... https://trac.torproject.org/projects/tor/ticket/26902 From what I can tell these statistics are available in practice for our next hour's consensus, but not the present one... atagar@morrigan:~$ curl -s 128.31.0.34:9131/tor/status-vote/next/bandwidth | wc -l 8987 atagar@morrigan:~$ curl -s 128.31.0.34:9131/tor/status-vote/current/bandwidth | wc -l 0
Showing
- docs/_static/example/bandwidth_stats.py 11 additions, 0 deletionsdocs/_static/example/bandwidth_stats.py
- docs/change_log.rst 1 addition, 0 deletionsdocs/change_log.rst
- docs/tutorials/double_double_toil_and_trouble.rst 4 additions, 0 deletionsdocs/tutorials/double_double_toil_and_trouble.rst
- docs/tutorials/examples/bandwidth_stats.rst 48 additions, 0 deletionsdocs/tutorials/examples/bandwidth_stats.rst
- stem/descriptor/remote.py 45 additions, 8 deletionsstem/descriptor/remote.py
docs/_static/example/bandwidth_stats.py
0 → 100644
docs/tutorials/examples/bandwidth_stats.rst
0 → 100644
Please register or sign in to comment