|
@@ -4474,6 +4474,7 @@ hid_serv_previous_directory(const char *id)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
+#if 0
|
|
|
|
|
|
* usefully perform v2 rend operations on them (publish, fetch, replicate),
|
|
|
* or false otherwise. */
|
|
@@ -4494,11 +4495,11 @@ hid_serv_have_enough_directories(void)
|
|
|
});
|
|
|
return 0;
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
-
|
|
|
- * responsible for <b>id</b> (binary) and add pointers to those routers'
|
|
|
- * routerstatus_t to <b>responsible_dirs</b>. If we don't have enough
|
|
|
- * hidden service directories, return -1, else 0. */
|
|
|
+
|
|
|
+ * add pointers to those routers' routerstatus_t to <b>responsible_dirs</b>.
|
|
|
+ * If we don't have a consensus, return -1, else 0. */
|
|
|
int
|
|
|
hid_serv_get_responsible_directories(smartlist_t *responsible_dirs,
|
|
|
const char *id)
|
|
@@ -4525,10 +4526,9 @@ hid_serv_get_responsible_directories(smartlist_t *responsible_dirs,
|
|
|
i = 0;
|
|
|
} while (i != start);
|
|
|
|
|
|
-
|
|
|
- log_info(LD_REND, "We don't have enough hidden service directories to "
|
|
|
- "perform v2 rendezvous operations!");
|
|
|
- return -1;
|
|
|
+
|
|
|
+ * directories, we are happy with what we got. */
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
|