[tor-commits] [onionoo/master] Bandwidth fields are optional, not required.

karsten at torproject.org karsten at torproject.org
Tue Dec 4 18:27:16 UTC 2012


commit 3c7464e1ec635efed8a28e2778b6abc939785742
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Dec 4 19:26:27 2012 +0100

    Bandwidth fields are optional, not required.
---
 web/index.html |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/web/index.html b/web/index.html
index fe8195c..95b3866 100755
--- a/web/index.html
+++ b/web/index.html
@@ -185,20 +185,31 @@ Omitted if the relay IP address was not looked up or if no lookup request
 was successful yet.</li>
 <li><b>"last_restarted":</b> UTC timestamp (YYYY-MM-DD hh:mm:ss) when the
 relay was last (re-)started.
-Optional field.</li>
+Optional field.
+Missing if router descriptor containing this information cannot be
+found.</li>
 <li><b>"bandwidth_rate":</b> Average bandwidth
 in bytes per second that this relay is willing to sustain over long
 periods.
-Required field.</li>
+<font color="red">Optional field.
+Changed from required to optional field on December 4, 2012.</font>
+Missing if router descriptor containing this information cannot be
+found.</li>
 <li><b>"bandwidth_burst":</b> Bandwidth in bytes
 per second that this relay is willing to sustain in very short intervals.
-Required field.</li>
+<font color="red">Optional field.
+Changed from required to optional field on December 4, 2012.</font>
+Missing if router descriptor containing this information cannot be
+found.</li>
 <li><b>"observed_bandwidth":</b> Bandwidth
 estimate in bytes per second of the capacity this relay can handle.
 The relay remembers the maximum bandwidth sustained output over any ten
 second period in the past day, and another sustained input.
 The "observed_bandwidth" value is the lesser of these two numbers.
-Required field.</li>
+<font color="red">Optional field.
+Changed from required to optional field on December 4, 2012.</font>
+Missing if router descriptor containing this information cannot be
+found.</li>
 <li><b>"advertised_bandwidth":</b> Bandwidth in bytes per second that this
 relay is willing and capable to provide.
 Optional field.



More information about the tor-commits mailing list