llarp::routing::ObtainExitMessage

Inherits from llarp::routing::IMessage

Public Functions

Name
ObtainExitMessage()
~ObtainExitMessage() override =default
virtual void Clear() override
bool Sign(const llarp::SecretKey & sk)
populates I and signs
bool Verify() const
virtual bool BEncode(llarp_buffer_t * buf) const override
virtual bool DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * buf) override
virtual bool HandleMessage(IMessageHandler * h, AbstractRouter * r) const override

Public Attributes

Name
std::vector< llarp::exit::Policy > B
uint64_t E
llarp::PubKey I
uint64_t T
std::vector< llarp::exit::Policy > W
uint64_t X
llarp::Signature Z

Additional inherited members

Public Functions inherited from llarp::routing::IMessage

Name
IMessage() =default
virtual ~IMessage() =default
bool operator<(const IMessage & other) const

Public Attributes inherited from llarp::routing::IMessage

Name
PathID_t from
uint64_t S
uint64_t version

Public Functions Documentation

function ObtainExitMessage

inline ObtainExitMessage()

function ~ObtainExitMessage

~ObtainExitMessage() override =default

function Clear

inline virtual void Clear() override

Reimplements: llarp::routing::IMessage::Clear

function Sign

bool Sign(
    const llarp::SecretKey & sk
)

populates I and signs

function Verify

bool Verify() const

function BEncode

virtual bool BEncode(
    llarp_buffer_t * buf
) const override

Reimplements: llarp::routing::IMessage::BEncode

function DecodeKey

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

Reimplements: llarp::routing::IMessage::DecodeKey

function HandleMessage

virtual bool HandleMessage(
    IMessageHandler * h,
    AbstractRouter * r
) const override

Reimplements: llarp::routing::IMessage::HandleMessage

Public Attributes Documentation

variable B

std::vector< llarp::exit::Policy > B;

variable E

uint64_t E {0};

variable I

llarp::PubKey I;

variable T

uint64_t T {0};

variable W

std::vector< llarp::exit::Policy > W;

variable X

uint64_t X {0};

variable Z

llarp::Signature Z;

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