[tor-commits] [stem/master] Bandwidth file support

atagar at torproject.org atagar at torproject.org
Mon Jan 21 01:52:11 UTC 2019


commit 9cac9085504230e036ff65754d88a349ad88d549
Merge: 8c61fc85 bf49f7dd
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Jan 20 17:46:53 2019 -0800

    Bandwidth file support
    
    Support for bandwidth authority metrics...
    
      https://trac.torproject.org/projects/tor/ticket/29056
      https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt

 docs/api.rst                                  |   1 +
 docs/api/descriptor/bandwidth_file.rst        |   5 +
 docs/change_log.rst                           |   1 +
 docs/contents.rst                             |   1 +
 stem/descriptor/__init__.py                   |  13 +-
 stem/descriptor/bandwidth_file.py             | 258 ++++++++++++++++++++++++++
 test/settings.cfg                             |   8 +-
 test/unit/descriptor/__init__.py              |   1 +
 test/unit/descriptor/bandwidth_file.py        | 187 +++++++++++++++++++
 test/unit/descriptor/data/bandwidth_file_v1.0 |  95 ++++++++++
 test/unit/descriptor/data/bandwidth_file_v1.2 |  95 ++++++++++
 11 files changed, 659 insertions(+), 6 deletions(-)



More information about the tor-commits mailing list