aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-07-14 14:03:30 -0400
committerNick Mathewson <nickm@torproject.org>2015-07-14 14:03:30 -0400
commita65e835800b1af2c2a4c215b0c8ab282e14105b2 (patch)
treea7bdff217672096882ea527bda1288ed4fe42212
parentfa788a54f53efd41f160f814d538ff08d134fe96 (diff)
downloadtor-a65e835800b1af2c2a4c215b0c8ab282e14105b2.tar.gz
tor-a65e835800b1af2c2a4c215b0c8ab282e14105b2.zip
Add changes file for 8712; apply it to HSDir flag as well.
-rw-r--r--changes/87126
-rw-r--r--src/or/dirserv.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/changes/8712 b/changes/8712
new file mode 100644
index 0000000000..c7423e84c8
--- /dev/null
+++ b/changes/8712
@@ -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. \ No newline at end of file
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 8ad8bfe707..71be626fff 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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