From e7632d0a30992dffdfd981a5443206663d8429a0 Mon Sep 17 00:00:00 2001 From: Thomas Winget Date: Fri, 3 Nov 2023 11:10:07 -0400 Subject: [PATCH] omit breaking RC stuff pending refactor It seems RC refactor will obviate the need for a "get individual RC" method, so this comments out some usage of that to sidestep build errors, rather than correcting them in a way that will just be wasted. --- llarp/router/rc_lookup_handler.cpp | 7 +++++++ llarp/service/endpoint.cpp | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/llarp/router/rc_lookup_handler.cpp b/llarp/router/rc_lookup_handler.cpp index dedc59079..c2df0c833 100644 --- a/llarp/router/rc_lookup_handler.cpp +++ b/llarp/router/rc_lookup_handler.cpp @@ -66,6 +66,12 @@ namespace llarp void RCLookupHandler::get_rc(const RouterID& rid, RCRequestCallback callback, bool forceLookup) { + (void)rid; + (void)callback; + (void)forceLookup; + /* RC refactor pending, this will likely go away entirely + * + * RemoteRC remoteRC; if (not forceLookup) @@ -104,6 +110,7 @@ namespace llarp // relays will need a different implementation TBD. if (!isServiceNode) hidden_service_context->GetDefault()->lookup_router(rid, std::move(lookup_cb)); + */ } bool diff --git a/llarp/service/endpoint.cpp b/llarp/service/endpoint.cpp index 8a3e4c56c..e1d93f347 100644 --- a/llarp/service/endpoint.cpp +++ b/llarp/service/endpoint.cpp @@ -856,6 +856,12 @@ namespace llarp::service bool Endpoint::lookup_router(RouterID rid, std::function func) { + (void)rid; + (void)func; + return false; + /* RC refactor pending, this will likely go away entirely + * + * auto path = GetEstablishedPathClosestTo(rid); auto response_cb = [func = std::move(func)](std::string resp, bool timeout) { @@ -883,6 +889,7 @@ namespace llarp::service path->find_router("find_router", std::move(response_cb)); return true; + */ } void