llarp::dht::FindNameMessage

Inherits from llarp::dht::IMessage

Public Functions

Name
FindNameMessage(const Key_t & from, Key_t namehash, uint64_t txid)
virtual bool BEncode(llarp_buffer_t * buf) const override
virtual bool DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * val) override
virtual bool HandleMessage(struct llarp_dht_context * dht, std::vector< Ptr_t > & replies) const override

Public Attributes

Name
Key_t NameHash
uint64_t TxID

Additional inherited members

Public Types inherited from llarp::dht::IMessage

Name
using std::unique_ptr< IMessage > Ptr_t

Public Functions inherited from llarp::dht::IMessage

Name
virtual ~IMessage() =default
IMessage(const Key_t & from)
construct

Public Attributes inherited from llarp::dht::IMessage

Name
Key_t From
PathID_t pathID
uint64_t version

Public Functions Documentation

function FindNameMessage

explicit FindNameMessage(
    const Key_t & from,
    Key_t namehash,
    uint64_t txid
)

function BEncode

virtual bool BEncode(
    llarp_buffer_t * buf
) const override

Reimplements: llarp::dht::IMessage::BEncode

function DecodeKey

virtual bool DecodeKey(
    const llarp_buffer_t & key,
    llarp_buffer_t * val
) override

Reimplements: llarp::dht::IMessage::DecodeKey

function HandleMessage

virtual bool HandleMessage(
    struct llarp_dht_context * dht,
    std::vector< Ptr_t > & replies
) const override

Reimplements: llarp::dht::IMessage::HandleMessage

Public Attributes Documentation

variable NameHash

Key_t NameHash;

variable TxID

uint64_t TxID;

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