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.
pull/2216/head
Thomas Winget 7 months ago
parent b0fb194e2c
commit e7632d0a30

@ -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

@ -856,6 +856,12 @@ namespace llarp::service
bool
Endpoint::lookup_router(RouterID rid, std::function<void(RouterContact rc, bool success)> 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

Loading…
Cancel
Save