[tor-commits] [torspec/main] Document supported range for bandwdith values in netstatus

nickm at torproject.org nickm at torproject.org
Mon Aug 16 15:43:38 UTC 2021


commit fe5b008aea1be9ec89421f8c943ccd8d5b529b8c
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Aug 16 11:34:52 2021 -0400

    Document supported range for bandwdith values in netstatus
---
 dir-spec.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dir-spec.txt b/dir-spec.txt
index 39a0318..7ba11c0 100644
--- a/dir-spec.txt
+++ b/dir-spec.txt
@@ -2324,6 +2324,9 @@
         a measured bandwidth currently produced by measuring stream
         capacities. It does not occur in consensuses.
 
+        'Bandwidth=' and 'Measured=' values must be between 0 and
+        2^32 - 1 inclusive.
+
         The "Unmeasured=1" value is included in consensuses generated
         with method 17 or later when the 'Bandwidth=' value is not
         based on a threshold of 3 or more measurements for this relay.



More information about the tor-commits mailing list