mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-07 15:20:31 +00:00
11e54f6552
- routing messages and surrounding code - shim code in place for iteration and optimization after deciding what to do with buffer, string handling, and subsequent function calls
25 lines
517 B
C++
25 lines
517 B
C++
#ifndef LLARP_DHT_LOCALROUTERLOOKUP
|
|
#define LLARP_DHT_LOCALROUTERLOOKUP
|
|
|
|
#include "recursiverouterlookup.hpp"
|
|
|
|
#include <llarp/path/path_types.hpp>
|
|
#include <llarp/router_contact.hpp>
|
|
#include <llarp/router_id.hpp>
|
|
|
|
namespace llarp::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 llarp::dht
|
|
|
|
#endif
|