Browse Source

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

Nick Mathewson 8 years ago
parent
commit
a65e835800
2 changed files with 7 additions and 2 deletions
  1. 6 0
      changes/8712
  2. 1 2
      src/or/dirserv.c

+ 6 - 0
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.

+ 1 - 2
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