lokinet/llarp/dht/localrouterlookup.hpp

28 lines
565 B
C++
Raw Normal View History

2019-01-22 01:14:02 +00:00
#ifndef LLARP_DHT_LOCALROUTERLOOKUP
#define LLARP_DHT_LOCALROUTERLOOKUP
#include "recursiverouterlookup.hpp"
2019-01-22 01:14:02 +00:00
#include <llarp/path/path_types.hpp>
#include <llarp/router_contact.hpp>
#include <llarp/router_id.hpp>
2019-01-22 01:14:02 +00:00
namespace llarp
{
namespace dht
{
struct LocalRouterLookup : public RecursiveRouterLookup
{
PathID_t localPath;
LocalRouterLookup(
const PathID_t& path, uint64_t txid, const RouterID& target, AbstractContext* ctx);
2019-01-22 01:14:02 +00:00
void
SendReply() override;
};
} // namespace dht
} // namespace llarp
#endif