[tor-commits] [torspec/master] tweak flag-thresholds a little more

nickm at torproject.org nickm at torproject.org
Thu Feb 7 16:39:53 UTC 2013


commit 52d0eb4858ad3eb191df3afe324f43683467ae22
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 7 11:39:47 2013 -0500

    tweak flag-thresholds a little more
---
 dir-spec.txt |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index bc0dacd..6e14a33 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -1190,12 +1190,18 @@
 
     "flag-thresholds" SP Thresholds NL
 
-         [Exactly once for votes; does not occur in consensuses.]
+         [At most once for votes; does not occur in consensuses.]
 
          A space-separated list of the internal performance thresholds
          that the directory authority had at the moment it was forming
          a vote.
 
+         The metaformat is:
+            Thresholds = Threshold | Threshold SP Thresholds
+            Threshold = ThresholdKey '=' ThresholdVal
+            ThresholdKey = (KeywordChar | "_") +
+            ThresholdVal = [0-9]+("."[0-9]*)? "%"?
+
          Commonly used Thresholds at this point include:
 
          "stable-uptime" -- Uptime (in seconds) required for a relay



More information about the tor-commits mailing list