Unverified Commit 2cce07d5 authored by teor's avatar teor
Browse files

dir-spec: specify failure modes for the bandwdith file headers vote line

Closes 26799.
parent d6b2bcb5
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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.