Skip to content

sgns::primitives::detail::BlockInfoT

More...

#include <common.hpp>

Inherits from boost::equality_comparable< BlockInfoT< Tag > >

Public Functions

Name
constexpr BlockInfoT() =default
constexpr BlockInfoT(BlockNumber n, BlockHash h)
bool operator==(const BlockInfoT< Tag > & o) const

Public Attributes

Name
BlockNumber block_number
BlockHash block_hash

Detailed Description

template <typename Tag >
struct sgns::primitives::detail::BlockInfoT;

Public Functions Documentation

function BlockInfoT

constexpr BlockInfoT() =default

function BlockInfoT

inline constexpr BlockInfoT(
    BlockNumber n,
    BlockHash h
)

function operator==

inline bool operator==(
    const BlockInfoT< Tag > & o
) const

Public Attributes Documentation

variable block_number

BlockNumber block_number {};

variable block_hash

BlockHash block_hash;

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