]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Vote for relays to be fast and stable even when they aren't currently active.
authorPeter Retzlaff <pe.retzlaff@gmail.com>
Sun, 3 May 2015 17:38:13 +0000 (19:38 +0200)
committerNick Mathewson <nickm@torproject.org>
Tue, 14 Jul 2015 17:59:29 +0000 (13:59 -0400)
src/or/dirserv.c

index ed38ba2259dda50f80208cb36b4ec421fe3fc9e9..8ad8bfe70708d69765c59511633bd4b4a02f9ad5 100644 (file)
@@ -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 */