[tor-commits] [torspec/master] Rephrase percent_eligible_relays and add calculation

nickm at torproject.org nickm at torproject.org
Mon Nov 26 21:51:56 UTC 2018


commit 964937e145fbc6de901fa949b383a3b53b5d62f2
Author: teor <teor at torproject.org>
Date:   Wed Nov 7 13:47:31 2018 +0000

    Rephrase percent_eligible_relays and add calculation
    
    As suggested by teor.
    
    Co-Authored-By: juga0 <juga at riseup.net>
---
 bandwidth-file-spec.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index bcccd7a..910b904 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -212,7 +212,11 @@ It consists of:
 
     [Zero or one time.]
 
-    The minimum percentage of eligible measured relays with respect
+    The number of eligible relays, as a percentage of the number
+    of relays in the consensus.
+    
+    This line SHOULD be equal to:
+        (number_eligible_relays * 100.0) / number_consensus_relays
     to the number of relays in the consensus to include in this file.
 
     Implementations SHOULD include this KeyValue when





More information about the tor-commits mailing list