From 2c865542b6d2e78d2c2942ecdc6acfe1d8fb24bf Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 5 Feb 2021 12:51:41 -0500 Subject: hs-v2: Removal of service and relay support This is unfortunately massive but both functionalities were extremely intertwined and it would have required us to actually change the HSv2 code in order to be able to split this into multiple commits. After this commit, there are still artefacts of v2 in the code but there is no more support for service, intro point and HSDir. The v2 support for rendezvous circuit is still available since that code is the same for the v3 and we will leave it in so if a client is able to rendezvous on v2 then it can still transfer traffic. Once the entire network has moved away from v2, we can remove v2 rendezvous point support. Related to #40266 Signed-off-by: David Goulet --- src/feature/nodelist/nodelist.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/feature/nodelist') diff --git a/src/feature/nodelist/nodelist.c b/src/feature/nodelist/nodelist.c index 7387f0d1d3..f807a34449 100644 --- a/src/feature/nodelist/nodelist.c +++ b/src/feature/nodelist/nodelist.c @@ -64,7 +64,6 @@ #include "feature/nodelist/routerlist.h" #include "feature/nodelist/routerset.h" #include "feature/nodelist/torcert.h" -#include "feature/rend/rendservice.h" #include "lib/encoding/binascii.h" #include "lib/err/backtrace.h" #include "lib/geoip/geoip.h" @@ -2471,7 +2470,6 @@ void router_dir_info_changed(void) { need_to_update_have_min_dir_info = 1; - rend_hsdir_routers_changed(); hs_service_dir_info_changed(); hs_client_dir_info_changed(); } -- cgit v1.2.3-54-g00ecf