serve non connected dht nodes

pull/453/head
Jeff 5 years ago
parent aa08d20480
commit 1deafe444a

@ -167,6 +167,11 @@ namespace llarp
replies.emplace_back(new GotRouterMessage(k, txid, {found}, false));
return true;
}
else if(dht.GetRouter()->nodedb()->Get(K, found))
{
replies.emplace_back(new GotRouterMessage(k, txid, {found}, false));
return true;
}
else
dht.LookupRouterRelayed(From, txid, k, !iterative, replies);
return true;

Loading…
Cancel
Save