[tor-commits] [stem/master] Noting that we might want to add 'bandwidth-weights' later

atagar at torproject.org atagar at torproject.org
Sat Oct 13 18:35:45 UTC 2012


commit 53f16d8546302621f786c30ef0fb1b69786444fe
Author: Damian Johnson <atagar at torproject.org>
Date:   Sun Sep 16 18:10:08 2012 -0700

    Noting that we might want to add 'bandwidth-weights' later
    
    The "bandwidth-weights" field mentions a 'bandwidth-weights' parameter and a
    default value. This isn't listed in the params section so getting confirmation
    of what I should be making of this param first.
---
 stem/descriptor/networkstatus.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/stem/descriptor/networkstatus.py b/stem/descriptor/networkstatus.py
index 0a4aaeb..ae52c2f 100644
--- a/stem/descriptor/networkstatus.py
+++ b/stem/descriptor/networkstatus.py
@@ -90,6 +90,9 @@ FOOTER_STATUS_DOCUMENT_FIELDS = (
 
 ALL_FIELDS = [attr[0] for attr in HEADER_STATUS_DOCUMENT_FIELDS + FOOTER_STATUS_DOCUMENT_FIELDS]
 
+# Maybe we should add 'bandwidth-weights'?
+# https://trac.torproject.org/6872
+
 DEFAULT_PARAMS = {
   "cbtdisabled": 0,
   "cbtnummodes": 3,





More information about the tor-commits mailing list