aboutsummaryrefslogtreecommitdiff
path: root/dir-spec.txt
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2018-07-16 13:24:35 +1000
committerteor <teor2345@gmail.com>2018-07-16 13:24:35 +1000
commit2cce07d59a5391f8b6d9e1c8805ce1889b15f127 (patch)
tree94220a90ea5d3b0f5921788f869ae636261a8dfc /dir-spec.txt
parentd6b2bcb5b2ac1b1ca9726a368c489c152e093332 (diff)
downloadtorspec-2cce07d59a5391f8b6d9e1c8805ce1889b15f127.tar.gz
torspec-2cce07d59a5391f8b6d9e1c8805ce1889b15f127.zip
dir-spec: specify failure modes for the bandwdith file headers vote line
Closes 26799.
Diffstat (limited to 'dir-spec.txt')
-rw-r--r--dir-spec.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/dir-spec.txt b/dir-spec.txt
index f2447c2..6408d87 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -2091,7 +2091,7 @@
[At most once for votes; does not occur in consensuses.]
- KeyValues ::= KeyValue | KeyValues SP KeyValue
+ KeyValues ::= "" | KeyValue | KeyValues SP KeyValue
KeyValue ::= Keyword '=' Value
Value ::= ArgumentCharValue+
ArgumentCharValue ::= any printing ASCII character except NL and SP.
@@ -2099,6 +2099,12 @@
The headers from the bandwidth file used to generate this vote.
The bandwidth file headers are described in bandwidth-file-spec.txt.
+ If an authority is not configured with a V3BandwidthsFile, this line
+ SHOULD NOT appear in its vote.
+
+ If an authority is configured with a V3BandwidthsFile, but parsing
+ fails, this line SHOULD appear in its vote, but without any headers.
+
Current Keywords:
"timestamp" -- the Unix Epoch time in seconds of the most recent
generator result.