llarp::dht::ServiceAddressLookup

Inherits from llarp::dht::TX< TXOwner, service::EncryptedIntroSet >

Inherited by llarp::dht::LocalServiceAddressLookup

Public Functions

Name
ServiceAddressLookup(const TXOwner & asker, const Key_t & addr, AbstractContext * ctx, uint32_t relayOrder, service::EncryptedIntroSetLookupHandler handler)
virtual bool Validate(const service::EncryptedIntroSet & value) const override
virtual void Start(const TXOwner & peer) override
virtual void SendReply() override

Public Attributes

Name
Key_t location
service::EncryptedIntroSetLookupHandler handleResult
uint32_t relayOrder

Additional inherited members

Public Functions inherited from llarp::dht::TX< TXOwner, service::EncryptedIntroSet >

Name
TX(const TXOwner & asker, const K & k, AbstractContext * p)
virtual ~TX() =default
void OnFound(const Key_t & askedPeer, const V & value)

Public Attributes inherited from llarp::dht::TX< TXOwner, service::EncryptedIntroSet >

Name
K target
AbstractContext * parent
std::set< Key_t > peersAsked
std::vector< V > valuesFound
TXOwner whoasked

Public Functions Documentation

function ServiceAddressLookup

ServiceAddressLookup(
    const TXOwner & asker,
    const Key_t & addr,
    AbstractContext * ctx,
    uint32_t relayOrder,
    service::EncryptedIntroSetLookupHandler handler
)

function Validate

virtual bool Validate(
    const service::EncryptedIntroSet & value
) const override

Reimplements: llarp::dht::TX::Validate

function Start

virtual void Start(
    const TXOwner & peer
) override

Reimplements: llarp::dht::TX::Start

function SendReply

virtual void SendReply() override

Reimplements: llarp::dht::TX::SendReply

Public Attributes Documentation

variable location

Key_t location;

variable handleResult

service::EncryptedIntroSetLookupHandler handleResult;

variable relayOrder

uint32_t relayOrder;

Updated on 2026-01-10 at 22:49:45 +0000