aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorjuga0 <juga@riseup.net>2018-05-22 08:51:54 +0000
committerjuga0 <juga@riseup.net>2018-06-24 11:39:35 +0000
commit8760c78ddcdb5d7a33b0d6322e82cb287cae6fcb (patch)
tree72f89e372155e06e96d8357acd9baeab88d01bd9 /bandwidth-file-spec.txt
parent4df184021b7c84cc47e2ed19a601b1e790b5b4fb (diff)
downloadtorspec-8760c78ddcdb5d7a33b0d6322e82cb287cae6fcb.tar.gz
torspec-8760c78ddcdb5d7a33b0d6322e82cb287cae6fcb.zip
Fix Timestamp, to be the most recent result.
It is not the timestamp when the file was created.
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index c647aee..7db9eab 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -118,9 +118,18 @@ It consists of:
[At start, exactly once.]
- The Unix Epoch time in seconds when the file was created.
- It does not follow the KeyValue format for backwards
- compatibility with version 1.0.0.
+ The Unix Epoch time in seconds of the most recent generator result.
+
+ If there are multiple generators which can fail independently,
+ implementations SHOULD take the most recent timestamp from each
+ generator and use the oldest value. This ensures all the generators
+ continue running.
+
+ If there are scanners that do not run continuously, they SHOULD be
+ excluded from the timestamp calculation.
+
+ It does not follow the KeyValue format for backwards compatibility
+ with version 1.0.0.
"version=" version_number NL