sgns::confirm_req¶
#include <common.hpp>
Inherits from sgns::message
Public Functions¶
| Name | |
|---|---|
| confirm_req(bool & error_a, sgns::stream & stream_a, sgns::message_header const & header_a, sgns::block_uniquer * uniquer_a =nullptr) | |
| confirm_req(std::shared_ptr< sgns::block > block_a) | |
| confirm_req(std::vector< std::pair< sgns::block_hash, sgns::root > > const & roots_hashes_a) | |
| confirm_req(sgns::block_hash const & hash_a, sgns::root const & root_a) | |
| virtual void | serialize(sgns::stream & stream_a, bool use_epoch_2_min_version_a) const override |
| bool | deserialize(sgns::stream & stream_a, sgns::block_uniquer * uniquer_a =nullptr) |
| virtual void | visit(sgns::message_visitor & visitor_a) const override |
| bool | operator==(sgns::confirm_req const & other_a) const |
| std::string | roots_string() const |
| size_t | size(sgns::block_type type_a, size_t count =0) |
Public Attributes¶
| Name | |
|---|---|
| std::shared_ptr< sgns::block > | block |
| std::vector< std::pair< sgns::block_hash, sgns::root > > | roots_hashes |
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_req¶
confirm_req(
bool & error_a,
sgns::stream & stream_a,
sgns::message_header const & header_a,
sgns::block_uniquer * uniquer_a =nullptr
)
function confirm_req¶
function confirm_req¶
function confirm_req¶
function serialize¶
Reimplements: sgns::message::serialize
function deserialize¶
function visit¶
Reimplements: sgns::message::visit
function operator==¶
function roots_string¶
function size¶
Public Attributes Documentation¶
variable block¶
variable roots_hashes¶
Updated on 2026-03-04 at 13:10:43 -0800