1. 09 Mar, 2020 1 commit
    • juga  's avatar
      fix: v3bwfile: !refactor, Rename constants · 7b767465
      juga authored
      Rename constants to make their names more consistent with each other.
      All header constants start now by HEADER_ and all Bandwidth Lines by
      BWLINE_.
      The constants that are a list of keys are now named KEYS instead of
      KEY_VALUE or KEY_VALUE.
      
      These are the substitutions made:
      
      s/BW_KEYVALUE_SEP_V1/BWLINE_KEYVALUES_SEP_V1/
      s/BW_KEYVALUES_BASIC/BWLINE_KEYS_V0/
      s/BW_KEYVALUES_FILE/BWLINE_KEYS_V1_1/
      s/BW_KEYVALUES_EXTRA_BWS/BWLINE_KEYS_V1_2/
      s/BANDWIDTH_LINE_KEY_VALUES_MONITOR/BWLINE_KEYS_V1_4/
      s/BW_KEYVALUES_EXTRA/BWLINE_KEYS_V1/
      s/BW_KEYVALUES_INT/BWLINE_INT_KEYS/
      s/BW_KEYVALUES/BWLINE_ALL_KEYS/
      s/EXTRA_ARG_KEYVALUES/HEADER_KEYS_V1X/
      s/STATS_KEYVALUES/HEADER_KEYS_V1_2/
      s/BW_HEADER_KEYVALUES_RECENT_MEASUREMENTS_EXCLUDED/HEADER_RECENT_MEASUREMENTS_EXCLUDED_KEYS/
      s/BW_HEADER_KEYVALUES_MONITOR/HEADER_KEYS_V1_4/
      s/BANDWIDTH_HEADER_KEY_VALUES_INIT/HEADER_INIT_KEYS/
      s/KEYVALUES_INT/HEADER_INT_KEYS/
      s/UNORDERED_KEYVALUES/HEADER_UNORDERED_KEYS/
      s/ALL_KEYVALUES/HEADER_ALL_KEYS/
      
      Part of #30196
      7b767465
  2. 17 Jun, 2019 1 commit
  3. 29 Mar, 2019 1 commit
    • juga  's avatar
      fix: v3bwfile: Use bytes to compare bandwidth sum · 4adb743f
      juga authored
      Use bytes to compare the sum of scaled bandwidth (in KB) with the
      sum of the consensus one (previously converted to Bytes measured.
      Also:
      - Check that the bandwidth attribute exists, since it was not
        stored in older versions.
      - Do not sum the bw=1 as a result of the relays being unmeasured.
      - Calculate the percentage difference as two difference values.
      - Log which were actually the bandwidth sums.
      4adb743f
  4. 27 Mar, 2019 4 commits
  5. 21 Mar, 2019 5 commits
  6. 17 Mar, 2019 1 commit
  7. 14 Mar, 2019 3 commits
  8. 13 Mar, 2019 6 commits
  9. 08 Mar, 2019 3 commits
  10. 07 Mar, 2019 2 commits
  11. 28 Feb, 2019 2 commits
  12. 21 Dec, 2018 1 commit
    • juga  's avatar
      generate: use round_digs variable name in methods · c57ba63e
      juga authored
      The torflow-round-digs cli argument was kept, but it was added
      other argument, round-digs, for the same option.
      argparse takes the first argument as the variable name, but the
      methods where still using torflow_round_digs.
      
      Closes bug #28602. Bugfix 1.0.3-dev0.
      c57ba63e
  13. 03 Dec, 2018 3 commits
  14. 23 Nov, 2018 4 commits
  15. 22 Nov, 2018 1 commit
  16. 21 Nov, 2018 2 commits