[tor-commits] [torspec/master] Make it clearer that hidserv-stats can be negative.

nickm at torproject.org nickm at torproject.org
Wed Apr 1 16:53:09 UTC 2015


commit 26929b8c55547f646b4bd16011f06dbc97e64953
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Mar 16 09:55:30 2015 +0100

    Make it clearer that hidserv-stats can be negative.
    
    Fixes #15276.
---
 dir-spec.txt |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dir-spec.txt b/dir-spec.txt
index a393fd1..7bba929 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -979,7 +979,8 @@
         mu = 0 and b = (delta_f / epsilon) with 'delta_f' and 'epsilon'
         being reported in the key=val part, too; third, the result of the
         previous obfuscation steps is truncated to the next smaller
-        integer and included as 'num'.
+        integer and included as 'num'. Note that the overall reported
+        value can be negative.
 
     "hidserv-dir-onions-seen" SP num SP key=val SP key=val ... NL
         [At most once.]
@@ -991,7 +992,8 @@
         The original measurement value is obfuscated in the same way as
         the 'num' value reported in "hidserv-rend-relayed-cells", but
         possibly with different parameters as reported in the key=val part
-        of this line.
+        of this line. Note that the overall reported value can be
+        negative.
 
     "transport" transportname address:port [arglist] NL
         [Any number.]





More information about the tor-commits mailing list