BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
graphene::protocol::block_header Class Reference

#include <block.hpp>

Inheritance diagram for graphene::protocol::block_header:
graphene::app::maybe_signed_block_header graphene::protocol::signed_block_header graphene::protocol::signed_block

Public Member Functions

digest_type digest () const
 
uint32_t block_num () const
 
virtual ~block_header ()=default
 

Static Public Member Functions

static uint32_t num_from_id (const block_id_type &id)
 

Public Attributes

block_id_type previous
 
fc::time_point_sec timestamp
 
witness_id_type witness
 
checksum_type transaction_merkle_root
 
extensions_type extensions
 

Detailed Description

Definition at line 29 of file block.hpp.

Constructor & Destructor Documentation

◆ ~block_header()

virtual graphene::protocol::block_header::~block_header ( )
virtualdefault

Member Function Documentation

◆ block_num()

uint32_t graphene::protocol::block_header::block_num ( ) const
inline

Definition at line 34 of file block.hpp.

◆ digest()

digest_type graphene::protocol::block_header::digest ( ) const

Definition at line 31 of file block.cpp.

◆ num_from_id()

uint32_t graphene::protocol::block_header::num_from_id ( const block_id_type id)
static

Definition at line 36 of file block.cpp.

Member Data Documentation

◆ extensions

extensions_type graphene::protocol::block_header::extensions

Definition at line 40 of file block.hpp.

◆ previous

block_id_type graphene::protocol::block_header::previous

Definition at line 33 of file block.hpp.

◆ timestamp

fc::time_point_sec graphene::protocol::block_header::timestamp

Definition at line 35 of file block.hpp.

◆ transaction_merkle_root

checksum_type graphene::protocol::block_header::transaction_merkle_root

Definition at line 37 of file block.hpp.

◆ witness

witness_id_type graphene::protocol::block_header::witness

Definition at line 36 of file block.hpp.


The documentation for this class was generated from the following files: