[tor-commits] [torspec/master] param-spec: correct a few minima/maxima/defaults

nickm at torproject.org nickm at torproject.org
Tue Dec 22 18:54:02 UTC 2020


commit 12271f0e6db00dee9600425b2de063e02f19c1ee
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Dec 22 13:53:38 2020 -0500

    param-spec: correct a few minima/maxima/defaults
    
    (Found while working on Arti)
---
 param-spec.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/param-spec.txt b/param-spec.txt
index 405c074..77eee34 100644
--- a/param-spec.txt
+++ b/param-spec.txt
@@ -10,7 +10,7 @@ line of a directory consensus.
     established with. It started out at 1000 cells, but some research
     indicates that a lower value would mean fewer cells in transit in the
     network at any given time.
-    Min: 100, Max: 1000
+    Min: 100, Max: 1000, Default: 1000
     First-appeared: Tor 0.2.1.20
 
     "UseOptimisticData" -- If set to zero, clients by default shouldn't try
@@ -48,7 +48,7 @@ line of a directory consensus.
     0.2.2.10-alpha and later.  (Versions of Tor between 0.2.2.7-alpha and
     0.2.2.10-alpha recognized a "CircPriorityHalflifeMsec" parameter, but
     mishandled it badly.)
-    Min: -1, Max: 2147483647 (INT32_MAX)
+    Min: 1, Max: 2147483647 (INT32_MAX), Default: 30000.
     First-appeared: Tor 0.2.2.11-alpha
 
     "perconnbwrate" and "perconnbwburst" -- if set, each relay sets up a
@@ -59,7 +59,8 @@ line of a directory consensus.
     0.2.2.7-alpha through 0.2.2.14-alpha looked for bwconnrate and
     bwconnburst, but then did the wrong thing with them; see bug 1830 for
     details.)
-    Min: 1, Max: 2147483647 (INT32_MAX)
+    Min: 1, Max: 2147483647 (INT32_MAX), Default: (user setting of
+        BandwidthRate/BandwidthBurst).
     First-appeared: 0.2.2.7-alpha
     Removed-in: 0.2.2.16-alpha
 
@@ -70,7 +71,7 @@ line of a directory consensus.
 
     "circ_max_cell_queue_size" -- This parameter determines the maximum
     number of cells allowed per circuit queue.
-    Min 1000. Max 4294967295. Default 50000.
+    Min: 1000. Max: 2147483647 (INT32_MAX). Default: 50000.
     First-appeared: 0.3.3.6-rc.
 
     "sendme_emit_min_version" -- Minimum SENDME version that can be sent.



More information about the tor-commits mailing list