[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 53f16d8546302621f786c30ef0fb1b69786444fe
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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,



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits