GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Commit e9182a41 authored by juga  's avatar juga
Browse files

fix: v3bwfile: !refactor, Reorder header constants

by version.

Part of #30196.
parent 6843145a
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment