Przeglądaj źródła

Vote for relays to be fast and stable even when they aren't currently active.

Peter Retzlaff 9 lat temu
rodzic
commit
fa788a54f5
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      src/or/dirserv.c

+ 0 - 2
src/or/dirserv.c

@@ -2143,10 +2143,8 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs,
   /* Already set by compute_performance_thresholds. */
   rs->is_exit = node->is_exit;
   rs->is_stable = node->is_stable =
-    router_is_active(ri, node, now) &&
     !dirserv_thinks_router_is_unreliable(now, ri, 1, 0);
   rs->is_fast = node->is_fast =
-    router_is_active(ri, node, now) &&
     !dirserv_thinks_router_is_unreliable(now, ri, 0, 1);
   rs->is_flagged_running = node->is_running; /* computed above */