[tor-commits] [torspec/master] bandwidth: typos and spacing

nickm at torproject.org nickm at torproject.org
Wed Jan 23 16:15:30 UTC 2019


commit 63676e7c2f0b12ea3e3454d1e6431dd924e4d83d
Author: teor <teor at torproject.org>
Date:   Wed Jan 23 08:23:13 2019 +1000

    bandwidth: typos and spacing
---
 bandwidth-file-spec.txt | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index fe9d056..96b5d03 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -44,20 +44,21 @@
 
 1.4. Format Versions
 
-   1.0.0 - The legacy fallback Bandwidth List format
+  1.0.0 - The legacy fallback Bandwidth List format
 
-   1.1.0 - Add a header containing information about the bandwidth
-           file. Document the sbws and Torflow relay line keys.
+  1.1.0 - Add a header containing information about the bandwidth
+          file. Document the sbws and Torflow relay line keys.
 
-   1.2.0 - If there are not enough eligible relays, the bandwidth file
-           SHOULD contain a header, but no relays. (To match Torflow's
-           existing behaviour.)
-           Adds new KeyValue Lines to the Header List section with
-           statistics about the number of relays included in the file.
-           Add new KeyValue Lines to the Relays' Bandwidth List section
-           with different bandwidth values.
+  1.2.0 - If there are not enough eligible relays, the bandwidth file
+          SHOULD contain a header, but no relays. (To match Torflow's
+          existing behaviour.)
+          Adds new KeyValue Lines to the Header List section with
+          statistics about the number of relays included in the file.
+          Add new KeyValue Lines to the Relays' Bandwidth List section
+          with different bandwidth values.
 
   All Tor versions can consume format version 1.0.0.
+  
   All Tor versions can consume format version 1.1.0 and later,
   but Tor versions earlier than 0.3.5.1-alpha warn if the header
   contains any KeyValue lines after the Timestamp.
@@ -96,7 +97,7 @@
     Value ::= ArgumentCharValue+
     ArgumentCharValue ::= any printing ASCII character except NL and SP.
     Terminator ::= "=====" or "===="
-                   Generators SHOULD use a 5-charatcer terminator.
+                   Generators SHOULD use a 5-character terminator.
     Timestamp ::= Int
     Bandwidth ::= Int
     MasterKey ::= a base64-encoded Ed25519 public key, with





More information about the tor-commits mailing list