aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerlist.h
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-11 17:21:47 +1000
committerteor <teor@riseup.net>2020-05-18 21:53:52 +1000
commit280195f41471862964f5c47446e5ccd01afdd96b (patch)
tree1fd7945b0d7389d1aca6dd4f7ba554d8b37c6c4d /src/feature/nodelist/routerlist.h
parentce11e3bf6946d1659e5915abac30b1972fc799c8 (diff)
downloadtor-280195f41471862964f5c47446e5ccd01afdd96b.tar.gz
tor-280195f41471862964f5c47446e5ccd01afdd96b.zip
nodelist: Move the v3 onion service rendezvous check
And delete a loop that is now empty. This change should improve tor's performance, because we no longer iterate through the nodelist twice for every node in every circuit path. Part of 34200.
Diffstat (limited to 'src/feature/nodelist/routerlist.h')
-rw-r--r--src/feature/nodelist/routerlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/nodelist/routerlist.h b/src/feature/nodelist/routerlist.h
index 1297bb4b65..d6d6064281 100644
--- a/src/feature/nodelist/routerlist.h
+++ b/src/feature/nodelist/routerlist.h
@@ -62,6 +62,7 @@ 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);
const routerinfo_t *routerlist_find_my_routerinfo(void);