Bitshares-Core  2.0.181105
BitShares blockchain implementation and command-line interface software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
graphene::chain::block_header Struct Reference

#include <block.hpp>

Inheritance diagram for graphene::chain::block_header:
graphene::chain::signed_block_header graphene::chain::signed_block graphene::wallet::signed_block_with_info

Public Member Functions

digest_type digest () const
 
uint32_t block_num () const
 

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.

Member Function Documentation

◆ block_num()

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

Definition at line 33 of file block.hpp.

◆ digest()

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

Definition at line 30 of file block.cpp.

◆ num_from_id()

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

Definition at line 35 of file block.cpp.

Member Data Documentation

◆ extensions

extensions_type graphene::chain::block_header::extensions

Definition at line 39 of file block.hpp.

◆ previous

block_id_type graphene::chain::block_header::previous

Definition at line 32 of file block.hpp.

◆ timestamp

fc::time_point_sec graphene::chain::block_header::timestamp

Definition at line 34 of file block.hpp.

◆ transaction_merkle_root

checksum_type graphene::chain::block_header::transaction_merkle_root

Definition at line 36 of file block.hpp.

◆ witness

witness_id_type graphene::chain::block_header::witness

Definition at line 35 of file block.hpp.


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