diff options
author | teor <teor@riseup.net> | 2020-05-11 17:31:20 +1000 |
---|---|---|
committer | teor <teor@riseup.net> | 2020-05-18 21:53:52 +1000 |
commit | 1ec604f0f9dc7f642e5614de4741671105d6945f (patch) | |
tree | 34237a00c1db66e77638900d0a3dc4d0e39a0ee7 /src/feature/nodelist/routerlist.h | |
parent | 280195f41471862964f5c47446e5ccd01afdd96b (diff) | |
download | tor-1ec604f0f9dc7f642e5614de4741671105d6945f.tar.gz tor-1ec604f0f9dc7f642e5614de4741671105d6945f.zip |
nodelist: Move node flag checks
Move node flag checks to router_add_running_nodes_to_smartlist(), where
they are actually used.
Part of 34200.
Diffstat (limited to 'src/feature/nodelist/routerlist.h')
-rw-r--r-- | src/feature/nodelist/routerlist.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/feature/nodelist/routerlist.h b/src/feature/nodelist/routerlist.h index d6d6064281..7d0788bacb 100644 --- a/src/feature/nodelist/routerlist.h +++ b/src/feature/nodelist/routerlist.h @@ -58,12 +58,7 @@ int router_dir_conn_should_skip_reachable_address_check( int try_ip_pref); void router_reset_status_download_failures(void); int routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2); -void router_add_running_nodes_to_smartlist(smartlist_t *sl, int need_uptime, - int need_capacity, int need_guard, - int need_desc, int pref_addr, - int direct_conn, - bool rendezvous_v3, - bool initiate_ipv6_extend); +void router_add_running_nodes_to_smartlist(smartlist_t *sl, int flags); const routerinfo_t *routerlist_find_my_routerinfo(void); uint32_t router_get_advertised_bandwidth(const routerinfo_t *router); |