llarp::dht::PublishIntroMessage
Inherits from llarp::dht::IMessage
Public Functions
| Name | |
|---|---|
| PublishIntroMessage(const Key_t & from, bool relayed_) | |
| PublishIntroMessage(const llarp::service::EncryptedIntroSet & introset_, uint64_t tx, bool relayed_, uint64_t relayOrder_) | |
| ~PublishIntroMessage() override | |
| virtual bool | BEncode(llarp_buffer_t * buf) const override |
| virtual bool | DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * val) override |
| bool | HandleMessage(llarp_dht_context * ctx, std::vector< std::unique_ptr< IMessage > > & replies) const override |
Public Attributes
| Name | |
|---|---|
| const uint64_t | MaxPropagationDepth |
| llarp::service::EncryptedIntroSet | introset |
| bool | relayed |
| uint64_t | relayOrder |
| 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 PublishIntroMessage
inline PublishIntroMessage(
const Key_t & from,
bool relayed_
)
function PublishIntroMessage
inline PublishIntroMessage(
const llarp::service::EncryptedIntroSet & introset_,
uint64_t tx,
bool relayed_,
uint64_t relayOrder_
)
function ~PublishIntroMessage
~PublishIntroMessage() override
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
bool HandleMessage(
llarp_dht_context * ctx,
std::vector< std::unique_ptr< IMessage > > & replies
) const override
Public Attributes Documentation
variable MaxPropagationDepth
static const uint64_t MaxPropagationDepth;
variable introset
llarp::service::EncryptedIntroSet introset;
variable relayed
bool relayed = false;
variable relayOrder
uint64_t relayOrder = 0;
variable txID
uint64_t txID = 0;
Updated on 2026-01-10 at 22:49:45 +0000