aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2018-11-07 13:53:17 +0000
committerGitHub <noreply@github.com>2018-11-07 13:53:17 +0000
commitb77eb0995defdf92eac9166d8d2e1c12bf0d0a50 (patch)
treed1620410d15468e9b221978b6e519cf78e34cd28 /bandwidth-file-spec.txt
parent3c69441436f176c55a919928b825664c65f5b128 (diff)
downloadtorspec-b77eb0995defdf92eac9166d8d2e1c12bf0d0a50.tar.gz
torspec-b77eb0995defdf92eac9166d8d2e1c12bf0d0a50.zip
Include calculations for minimum_number_eligible_relays
Co-Authored-By: juga0 <juga@riseup.net>
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt3
1 files changed, 3 insertions, 0 deletions
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.