[tor-commits] [torspec/master] bandwidth-file: Remove SP from the end of KeyValues

teor at torproject.org teor at torproject.org
Sat Mar 30 03:54:14 UTC 2019


commit d62535565c10b6789ef4b1127124cf6b4136523a
Author: teor <teor at torproject.org>
Date:   Fri Mar 22 11:26:27 2019 +1000

    bandwidth-file: Remove SP from the end of KeyValues
    
    The final KeyValue isn't followed by SP.
    
    The spaces are added between KeyValues when the RelayLine is formatted.
---
 bandwidth-file-spec.txt | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 9f573c6..907e32d 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -615,15 +615,15 @@
 
   sbws RelayLines contain these keys:
 
-    "node_id=" hexdigest SP
+    "node_id=" hexdigest
 
       As above.
 
-    "bw=" Bandwidth SP
+    "bw=" Bandwidth
 
       As above.
 
-    "nick=" nickname SP
+    "nick=" nickname
 
       [Exactly once.]
 
@@ -631,7 +631,7 @@
 
       Torflow also has a "nick=" KeyValue.
 
-    "rtt=" Int SP
+    "rtt=" Int
 
       [Zero or one time.]
 
@@ -640,7 +640,7 @@
       This KeyValue was added in version 1.1.0 of this specification.
       It became optional in version 1.3.0 or 1.4.0 of this specification.
 
-    "time=" DateTime SP
+    "time=" DateTime
 
       [Exactly once.]
 
@@ -650,7 +650,7 @@
       This KeyValue was added in version 1.1.0 of this specification.
       The Torflow equivalent is "measured_at=".
 
-    "success=" Int SP
+    "success=" Int
 
       [Zero or one time.]
 
@@ -659,7 +659,7 @@
 
       This KeyValue was added in version 1.1.0 of this specification.
 
-    "error_circ=" Int SP
+    "error_circ=" Int
 
       [Zero or one time.]
 
@@ -669,7 +669,7 @@
       This KeyValue was added in version 1.1.0 of this specification.
       The Torflow equivalent is "circ_fail=".
 
-    "error_stream=" Int SP
+    "error_stream=" Int
 
       [Zero or one time.]
 
@@ -678,7 +678,7 @@
 
       This KeyValue was added in version 1.1.0 of this specification.
 
-    "error_misc=" Int SP
+    "error_misc=" Int
 
       [Zero or one time.]
 
@@ -687,7 +687,7 @@
 
       This KeyValue was added in version 1.1.0 of this specification.
 
-    "bw_mean=" Int SP
+    "bw_mean=" Int
 
       [Zero or one time.]
 
@@ -695,7 +695,7 @@
 
       This KeyValue was added in version 1.2.0 of this specification.
 
-    "bw_median=" Int SP
+    "bw_median=" Int
 
       [Zero or one time.]
 
@@ -703,7 +703,7 @@
 
       This KeyValue was added in version 1.2.0 of this specification.
 
-    "desc_bw_average=" Int SP
+    "desc_bw_average=" Int
 
       [Zero or one time.]
 
@@ -711,7 +711,7 @@
 
       This KeyValue was added in version 1.2.0 of this specification.
 
-    "desc_obs_bw_last=" Int SP
+    "desc_obs_bw_last=" Int
 
       [Zero or one time.]
 
@@ -720,7 +720,7 @@
 
       This KeyValue was added in version 1.2.0 of this specification.
 
-    "desc_obs_bw_mean=" Int SP
+    "desc_obs_bw_mean=" Int
 
       [Zero or one time.]
 





More information about the tor-commits mailing list