mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-19 09:25:28 +00:00
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
|