Commit 4e76b206 authored by Nick Mathewson's avatar Nick Mathewson 🦞
Browse files

Merge remote-tracking branch 'arma/feature18624'

parents e1f4d955 c4208ef6
Loading
Loading
Loading
Loading

changes/feature18624

0 → 100644
+7 −0
Original line number Diff line number Diff line
  o Minor features:
    - Directory authorities now only give the Guard flag to a relay if
      they are also giving it the Stable flag. This change allows us to
      simplify path selection for clients, and it should have minimal
      effect in practice since >99% of Guards already have the Stable
      flag. Implements ticket 18624.
+1 −1
Original line number Diff line number Diff line
@@ -2200,7 +2200,7 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs,

  rs->is_valid = node->is_valid;

  if (node->is_fast &&
  if (node->is_fast && node->is_stable &&
      ((options->AuthDirGuardBWGuarantee &&
        routerbw_kb >= options->AuthDirGuardBWGuarantee/1000) ||
       routerbw_kb >= MIN(guard_bandwidth_including_exits_kb,