mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-02 03:40:12 +00:00
273270916e
This commit reflects changes to clang-format rules. Unfortunately, these rule changes create a massive change to the codebase, which causes an apparent rewrite of git history. Git blame's --ignore-rev flag can be used to ignore this commit when attempting to `git blame` some code.
28 lines
551 B
C++
28 lines
551 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
|