[tor-commits] [torspec/master] Include calculations for minimum_number_eligible_relays

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


commit b77eb0995defdf92eac9166d8d2e1c12bf0d0a50
Author: teor <teor at torproject.org>
Date:   Wed Nov 7 13:53:17 2018 +0000

    Include calculations for minimum_number_eligible_relays
    
    Co-Authored-By: juga0 <juga at riseup.net>
---
 bandwidth-file-spec.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index c57b480..bf77187 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -231,6 +231,9 @@ It consists of:
 
     The minimum number of relays to include in the bandwidth file.
 
+    This line SHOULD be equal to:
+        number_consensus_relays * (minimum_percent_eligible_relays / 100.0)
+
     Implementations SHOULD include this KeyValue when
     "minimum_percent_eligible_relays" is minor than
     "percent_eligible_relays" and MAY not include any RelayLine.





More information about the tor-commits mailing list