mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Vote for relays to be fast and stable even when they aren't currently active.
This commit is contained in:
parent
e03eaa3c4a
commit
fa788a54f5
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user