mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
564 B
C++
28 lines
564 B
C++
#ifndef LLARP_DHT_LOCALROUTERLOOKUP
|
|
#define LLARP_DHT_LOCALROUTERLOOKUP
|
|
|
|
#include <dht/recursiverouterlookup.hpp>
|
|
|
|
#include <path/path_types.hpp>
|
|
#include <router_contact.hpp>
|
|
#include <router_id.hpp>
|
|
|
|
namespace llarp
|
|
{
|
|
namespace dht
|
|
{
|
|
struct LocalRouterLookup : public RecursiveRouterLookup
|
|
{
|
|
PathID_t localPath;
|
|
|
|
LocalRouterLookup(const PathID_t &path, uint64_t txid,
|
|
const RouterID &target, AbstractContext *ctx);
|
|
|
|
void
|
|
SendReply() override;
|
|
};
|
|
} // namespace dht
|
|
} // namespace llarp
|
|
|
|
#endif
|