diff options
author | Roger Dingledine <arma@torproject.org> | 2010-04-21 21:35:18 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-04-21 21:35:18 -0400 |
commit | 573e1d40b3b5fdd35db28bb07028112cbe64c722 (patch) | |
tree | 410bd6db1ba27a9d930a89f36b4e464a4f5ba6b5 /src/or/router.c | |
parent | 6952b445cc121148eed87a12536cec8522f7d136 (diff) | |
download | tor-573e1d40b3b5fdd35db28bb07028112cbe64c722.tar.gz tor-573e1d40b3b5fdd35db28bb07028112cbe64c722.zip |
finally get rid of "clique mode"
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/or/router.c b/src/or/router.c index 347d7f9eff..d105aeffad 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -948,16 +948,6 @@ authdir_mode_bridge(or_options_t *options) { return authdir_mode(options) && options->BridgeAuthoritativeDir != 0; } -/** Return true iff we once tried to stay connected to all ORs at once. - * FFFF this function, and the notion of staying connected to ORs, is - * nearly obsolete. One day there will be a proposal for getting rid of - * it. - */ -int -clique_mode(or_options_t *options) -{ - return authdir_mode_tests_reachability(options); -} /** Return true iff we are trying to be a server. */ @@ -1052,20 +1042,6 @@ consider_publishable_server(int force) } /* - * Clique maintenance -- to be phased out. - */ - -/** Return true iff we believe this OR tries to keep connections open - * to all other ORs. */ -int -router_is_clique_mode(routerinfo_t *router) -{ - if (router_digest_is_trusted_dir(router->cache_info.identity_digest)) - return 1; - return 0; -} - -/* * OR descriptor generation. */ |