aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorjuga0 <juga@riseup.net>2018-10-26 12:52:23 +0000
committerjuga0 <juga@riseup.net>2018-10-26 13:09:31 +0000
commita955a35f05cb37bd152e9ab59ff2d93af43b2eba (patch)
tree4735a930fa63af0eb42fe848446158e6107dc026 /bandwidth-file-spec.txt
parent8cf90bb7bfa3fc4799186d93b615be85b7828ed4 (diff)
downloadtorspec-a955a35f05cb37bd152e9ab59ff2d93af43b2eba.tar.gz
torspec-a955a35f05cb37bd152e9ab59ff2d93af43b2eba.zip
Add new header KeyValues
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt60
1 files changed, 60 insertions, 0 deletions
diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 9a3f63f..cfa2ab9 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -208,6 +208,66 @@ It consists of:
This Line has been added in version 1.1.0 of this specification.
+ "percent_eligible_relays=" Int NL
+
+ [Zero or one time.]
+
+ The minimum percentage of eligible measured relays with respect
+ to the number of relays in the consensus to include in this file.
+
+ Implementations SHOULD include this KeyValue when
+ "minimum_percent_eligible_relays" is minor than
+ "percent_eligible_relays" and MAY not include any RelayLine.
+
+ This Line has been added in version 1.2.0 of this specification.
+
+ "minimum_number_eligible_relays=" Int NL
+
+ [Zero or one time.]
+
+ The minimum number of relays to include in the bandwidth file.
+
+ Implementations SHOULD include this KeyValue when
+ "minimum_percent_eligible_relays" is minor than
+ "percent_eligible_relays" and MAY not include any RelayLine.
+
+ This Line has been added in version 1.2.0 of this specification.
+
+ "number_consensus_relays=" Int NL
+
+ [Zero or one time.]
+
+ The number of relays in the consensus.
+
+ Implementations SHOULD include this KeyValue when
+ "minimum_percent_eligible_relays" is minor than
+ "percent_eligible_relays" and MAY not include any RelayLine.
+
+ This Line has been added in version 1.2.0 of this specification.
+
+ "number_eligible_relays=" Int NL
+
+ [Zero or one time.]
+
+ The number of relays that has been measured and are eligible to
+ include in the bandwidth file.
+
+ Implementations SHOULD include this KeyValue when
+ "minimum_percent_eligible_relays" is minor than
+ "percent_eligible_relays" and MAY not include any RelayLine.
+
+ This Line has been added in version 1.2.0 of this specification.
+
+ "minimum_percent_eligible_relays=" Int NL
+
+ [Zero or one time.]
+
+ Implementations SHOULD include this KeyValue when
+ "minimum_percent_eligible_relays" is minor than
+ "percent_eligible_relays" and MAY not include any RelayLine.
+
+ This Line has been added in version 1.2.0 of this specification.
+
KeyValue NL
[Zero or more times.]