BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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::protocol::signed_block_header graphene::protocol::signed_block

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

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

Definition at line 34 of file block.hpp.

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

Definition at line 31 of file block.cpp.

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_type graphene::protocol::block_header::extensions

Definition at line 40 of file block.hpp.

block_id_type graphene::protocol::block_header::previous

Definition at line 33 of file block.hpp.

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

Definition at line 35 of file block.hpp.

checksum_type graphene::protocol::block_header::transaction_merkle_root

Definition at line 37 of file block.hpp.

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: