BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | List of all members
graphene::app::maybe_signed_block_header Struct Reference

#include <api_objects.hpp>

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

Public Member Functions

 maybe_signed_block_header ()=default
 
 maybe_signed_block_header (const signed_block_header &bh, bool with_witness_signature=true)
 
- Public Member Functions inherited from graphene::protocol::block_header
digest_type digest () const
 
uint32_t block_num () const
 
virtual ~block_header ()=default
 

Public Attributes

optional< signature_typewitness_signature
 
- Public Attributes inherited from graphene::protocol::block_header
block_id_type previous
 
fc::time_point_sec timestamp
 
witness_id_type witness
 
checksum_type transaction_merkle_root
 
extensions_type extensions
 

Additional Inherited Members

- Static Public Member Functions inherited from graphene::protocol::block_header
static uint32_t num_from_id (const block_id_type &id)
 

Detailed Description

Definition at line 180 of file api_objects.hpp.

Constructor & Destructor Documentation

◆ maybe_signed_block_header() [1/2]

graphene::app::maybe_signed_block_header::maybe_signed_block_header ( )
default

◆ maybe_signed_block_header() [2/2]

graphene::app::maybe_signed_block_header::maybe_signed_block_header ( const signed_block_header bh,
bool  with_witness_signature = true 
)
explicit

Definition at line 133 of file api_objects.cpp.

Member Data Documentation

◆ witness_signature

optional<signature_type> graphene::app::maybe_signed_block_header::witness_signature

Definition at line 185 of file api_objects.hpp.


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