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

[tor-commits] [torspec/master] Correct bandwidth variable in step 3



commit 35479626bfa8d13244521e2312f032e04700fd29
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Wed Nov 7 17:42:59 2018 +0000

    Correct bandwidth variable in step 3
    
    Co-Authored-By: juga0 <juga@xxxxxxxxxx>
---
 bandwidth-file-spec.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 7073539..120789a 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -567,7 +567,7 @@ would be included in the next bandwidth authority's upcoming vote.
    In pseudocode:
 
     r_filt_i = bw_filt_i / bw_avg_filt
-    r_strm_i = bw_avg_strm / bw_avg_strm
+    r_strm_i = bw_i / bw_avg_strm
 
 4. Calculate the final ratio for each relay:
    The final ratio is the larger between the filtered bandwidth and the



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