[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Vote for relays to be fast and stable even when they aren't currently active.
commit fa788a54f53efd41f160f814d538ff08d134fe96
Author: Peter Retzlaff <pe.retzlaff@xxxxxxxxx>
Date: Sun May 3 19:38:13 2015 +0200
Vote for relays to be fast and stable even when they aren't currently active.
---
src/or/dirserv.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index ed38ba2..8ad8bfe 100644
--- a/src/or/dirserv.c
+++ b/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 */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits