Add changes file for 8712; apply it to HSDir flag as well.

This commit is contained in:
Nick Mathewson 2015-07-14 14:03:30 -04:00
parent fa788a54f5
commit a65e835800
2 changed files with 7 additions and 2 deletions

6
changes/8712 Normal file
View File

@ -0,0 +1,6 @@
o Minor features (directory authorities):
- Directory authorities no longer vote against the "Fast",
"Stable", and "HSDir" flags just because they were going to vote
against "Running": if the consensus turns out to be that the
router was running, then the authority's vote should count.
Patch from Peter Retzlaff; closes issue 8712.

View File

@ -1372,8 +1372,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router,
return (router->wants_to_be_hs_dir && router->dir_port &&
node->is_stable &&
uptime >= get_options()->MinUptimeHidServDirectoryV2 &&
router_is_active(router, node, now));
uptime >= get_options()->MinUptimeHidServDirectoryV2);
}
/** Don't consider routers with less bandwidth than this when computing