aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2018-11-07 13:47:31 +0000
committerGitHub <noreply@github.com>2018-11-07 13:47:31 +0000
commit964937e145fbc6de901fa949b383a3b53b5d62f2 (patch)
treeb9ce70159330a12b88e10b539b5877fefdafb968 /bandwidth-file-spec.txt
parent4d7114ddb266c0fa3bf9807f2a4050367b7151d3 (diff)
downloadtorspec-964937e145fbc6de901fa949b383a3b53b5d62f2.tar.gz
torspec-964937e145fbc6de901fa949b383a3b53b5d62f2.zip
Rephrase percent_eligible_relays and add calculation
As suggested by teor. Co-Authored-By: juga0 <juga@riseup.net>
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt6
1 files changed, 5 insertions, 1 deletions
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