Skip to content

sgns::confirm_ack

#include <common.hpp>

Inherits from sgns::message

Public Functions

Name
confirm_ack(bool & error_a, sgns::stream & stream_a, sgns::message_header const & header_a, sgns::vote_uniquer * uniquer_a =nullptr)
confirm_ack(std::shared_ptr< sgns::vote > vote_a)
virtual void serialize(sgns::stream & stream_a, bool use_epoch_2_min_version_a) const override
virtual void visit(sgns::message_visitor & visitor_a) const override
bool operator==(sgns::confirm_ack const & other_a) const
size_t size(sgns::block_type type_a, size_t count =0)

Public Attributes

Name
std::shared_ptr< sgns::vote > vote

Additional inherited members

Public Functions inherited from sgns::message

Name
message(sgns::message_type type_a)
message(sgns::message_header const & header_a)
virtual ~message() =default
std::shared_ptr< std::vector< uint8_t > > to_bytes(bool use_epoch_2_min_version_a) const
sgns::shared_const_buffer to_shared_const_buffer(bool use_epoch_2_min_version_a) const

Public Attributes inherited from sgns::message

Name
sgns::message_header header

Public Functions Documentation

function confirm_ack

confirm_ack(
    bool & error_a,
    sgns::stream & stream_a,
    sgns::message_header const & header_a,
    sgns::vote_uniquer * uniquer_a =nullptr
)

function confirm_ack

explicit confirm_ack(
    std::shared_ptr< sgns::vote > vote_a
)

function serialize

virtual void serialize(
    sgns::stream & stream_a,
    bool use_epoch_2_min_version_a
) const override

Reimplements: sgns::message::serialize

function visit

virtual void visit(
    sgns::message_visitor & visitor_a
) const override

Reimplements: sgns::message::visit

function operator==

bool operator==(
    sgns::confirm_ack const & other_a
) const

function size

static size_t size(
    sgns::block_type type_a,
    size_t count =0
)

Public Attributes Documentation

variable vote

std::shared_ptr< sgns::vote > vote;

Updated on 2026-03-04 at 13:10:43 -0800