lokinet/llarp/dht/localrouterlookup.hpp

25 lines
517 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::dht
2019-01-22 01:14:02 +00:00
{
struct LocalRouterLookup : public RecursiveRouterLookup
2019-01-22 01:14:02 +00:00
{
PathID_t localPath;
2019-01-22 01:14:02 +00:00
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 llarp::dht
2019-01-22 01:14:02 +00:00
#endif