diff options
author | David Goulet <dgoulet@torproject.org> | 2021-03-10 09:52:08 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-03-10 09:52:08 -0500 |
commit | 2169b637dd0ee4fef9bc28f0115349b10ea0b2b4 (patch) | |
tree | 9db6175237d883ee575111bf819263f52ded547f /dir-spec.txt | |
parent | 952024f5c354d59d0df51b6c2fe94045fa9cb926 (diff) | |
download | torspec-2169b637dd0ee4fef9bc28f0115349b10ea0b2b4.tar.gz torspec-2169b637dd0ee4fef9bc28f0115349b10ea0b2b4.zip |
dir-spec: Add "stats" line to a vote
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'dir-spec.txt')
-rw-r--r-- | dir-spec.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dir-spec.txt b/dir-spec.txt index 657e95f..d486991 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -2294,6 +2294,24 @@ "id" SP "ed25519" SP "none" NL [vote only, at most once] + "stats" SP [KeyValues] NL + + [At most once. Vote only] + + KeyValue ::= Keyword '=' Number + Number ::= [0-9]+("."[0-9]+)? + KeyValues ::= KeyValue | KeyValues SP KeyValue + + Line containing various statistics that an authority has computed for + this relay. Each stats is represented as a key + value. Reported keys + are: + + "wfu" - Weighted Fractional Uptime + "tk" - Weighted Time Known + "mtbf" - Mean Time Between Failure (stability) + + (As of tor-0.4.6.1-alpha) + The footer section is delineated in all votes and consensuses supporting consensus method 9 and above with the following: |