[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit fe5b008aea1be9ec89421f8c943ccd8d5b529b8c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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.

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits