|
@@ -2521,27 +2521,6 @@ entries_retry_all(const or_options_t *options)
|
|
|
entries_retry_helper(options, 1);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- * provide microdescriptors to us. If not, we'll fall back to asking for
|
|
|
- * full descriptors. */
|
|
|
-int
|
|
|
-any_bridge_supports_microdescriptors(void)
|
|
|
-{
|
|
|
- const node_t *node;
|
|
|
- if (!get_options()->UseBridges || !entry_guards)
|
|
|
- return 0;
|
|
|
- SMARTLIST_FOREACH_BEGIN(entry_guards, entry_guard_t *, e) {
|
|
|
- node = node_get_by_id(e->identity);
|
|
|
- if (node && node->is_running &&
|
|
|
- node_is_bridge(node) && node_is_a_configured_bridge(node)) {
|
|
|
-
|
|
|
- * it to know that it will be able to answer our questions. */
|
|
|
- return 1;
|
|
|
- }
|
|
|
- } SMARTLIST_FOREACH_END(e);
|
|
|
- return 0;
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
* memory structs. */
|
|
|
void
|