Loading changes/bug15963 0 → 100644 +4 −0 Original line number Diff line number Diff line o Hidden service directory enhancement - Relays need to have the Fast flag to ge the HSDir flag. As this is being written, we'll go from 2745 HSDirs down to 2342, a ~14% drop. Fixes #15983. src/or/dirserv.c +2 −2 Original line number Diff line number Diff line Loading @@ -1344,7 +1344,7 @@ dirserv_thinks_router_is_unreliable(time_t now, /** Return true iff <b>router</b> should be assigned the "HSDir" flag. * Right now this means it advertises support for it, it has a high uptime, * it has a DirPort open, it has the Stable flag and it's currently * it has a DirPort open, it has the Stable and Fast flag and it's currently * considered Running. * * This function needs to be called after router-\>is_running has Loading Loading @@ -1372,7 +1372,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router, uptime = real_uptime(router, now); return (router->wants_to_be_hs_dir && router->dir_port && node->is_stable && node->is_stable && node->is_fast && uptime >= get_options()->MinUptimeHidServDirectoryV2 && router_is_active(router, node, now)); } Loading Loading
changes/bug15963 0 → 100644 +4 −0 Original line number Diff line number Diff line o Hidden service directory enhancement - Relays need to have the Fast flag to ge the HSDir flag. As this is being written, we'll go from 2745 HSDirs down to 2342, a ~14% drop. Fixes #15983.
src/or/dirserv.c +2 −2 Original line number Diff line number Diff line Loading @@ -1344,7 +1344,7 @@ dirserv_thinks_router_is_unreliable(time_t now, /** Return true iff <b>router</b> should be assigned the "HSDir" flag. * Right now this means it advertises support for it, it has a high uptime, * it has a DirPort open, it has the Stable flag and it's currently * it has a DirPort open, it has the Stable and Fast flag and it's currently * considered Running. * * This function needs to be called after router-\>is_running has Loading Loading @@ -1372,7 +1372,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router, uptime = real_uptime(router, now); return (router->wants_to_be_hs_dir && router->dir_port && node->is_stable && node->is_stable && node->is_fast && uptime >= get_options()->MinUptimeHidServDirectoryV2 && router_is_active(router, node, now)); } Loading