commit e9182a41a95b9aef8af0700b9c4566d9eba38122 Author: juga0 juga@riseup.net Date: Mon Feb 24 14:06:52 2020 +0000
fix: v3bwfile: !refactor, Reorder header constants
by version.
Part of #30196. --- sbws/lib/v3bwfile.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py index 2f34376..0826127 100644 --- a/sbws/lib/v3bwfile.py +++ b/sbws/lib/v3bwfile.py @@ -54,12 +54,6 @@ HEADER_KEYS_V1_1_TO_INIT = [ "generator_started", ]
-# KeyValues added in the Bandwidth File v1.3.0 -HEADER_KEYS_V1_3 = [ - "scanner_country", - "destinations_countries", -] - # number_eligible_relays is the number that ends in the bandwidth file # ie, have not been excluded by one of the filters in 4. below # They should be call recent_measurement_included_count to be congruent @@ -72,6 +66,12 @@ HEADER_KEYS_V1_2 = [ "minimum_percent_eligible_relays", ]
+# KeyValues added in the Bandwidth File v1.3.0 +HEADER_KEYS_V1_3 = [ + "scanner_country", + "destinations_countries", +] + # KeyValues that count the number of relays that are in the bandwidth file, # but ignored by Tor when voting, because they do not have a # measured bandwidth.