Skip to content
  1. Mar 20, 2024
  2. Mar 14, 2024
  3. Mar 12, 2024
  4. Mar 07, 2024
    • Jim Newsome's avatar
      In router_is_active, don't require non-zero bandwidthcapacity · 4fc43ebd
      Jim Newsome authored
      This check was originally added in 962765a3, with the intent of
      preventing relays with 0 measured bandwidth from being listed in the
      consensus (part of fixing #13000).
      
      Currently, that decision and other relevant places effectively use
      `dirserv_get_credible_bandwidth_kb`, which prefers bwauth-measured
      bandwidth over the self-reported `bandwidthcapacity`, making this check
      mostly redundant.
      
      i.e. this change should only affect behavior when the relay has uploaded
      a descriptor with `bandwidthcapacity=0` *and* we have a non-zero
      measured bandwidth, in which case we'll still trust the measured
      bandwidth. This is what we want when bootstrapping a network (e.g. for
      testing), since it allows us to initialize bandwidths using a bandwidth
      authority file.
      
      A relay can still cause `router_is_active` to return false by setting
      the hibernate flag.
      
      Also see discussion in #40917.
      
      Fixes #40917.
      4fc43ebd
  5. Feb 28, 2024
  6. Feb 18, 2024
  7. Feb 08, 2024
  8. Feb 06, 2024
  9. Feb 05, 2024
  10. Feb 01, 2024
  11. Jan 30, 2024
  12. Jan 09, 2024
  13. Dec 11, 2023
  14. Dec 10, 2023
  15. Dec 09, 2023
    • Alex Xu's avatar
      Use raw strings for regexs containing escapes · 9f731ac6
      Alex Xu authored
      In Python 3.12, these invalid escape sequences emit SyntaxWarnings, and will
      emit SyntaxErrors in a future release.
      
      Found using: grep '[^r]["'\''].*\\[^rn\\x0t"]' $(grep -rl '^#!.*python')
      9f731ac6
  16. Dec 08, 2023
  17. Dec 07, 2023