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

#include <block.hpp>

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

Public Member Functions

const checksum_typecalculate_merkle_root () const
 
- Public Member Functions inherited from graphene::protocol::signed_block_header
const block_id_typeid () const
 
const fc::ecc::public_keysignee () const
 
void sign (const fc::ecc::private_key &signer)
 
bool validate_signee (const fc::ecc::public_key &expected_signee) const
 
 signed_block_header ()=default
 
 signed_block_header (const block_header &header)
 
- Public Member Functions inherited from graphene::protocol::block_header
digest_type digest () const
 
uint32_t block_num () const
 
virtual ~block_header ()=default
 

Public Attributes

vector< processed_transactiontransactions
 
- Public Attributes inherited from graphene::protocol::signed_block_header
signature_type witness_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
 

Protected Attributes

checksum_type _calculated_merkle_root
 
- Protected Attributes inherited from graphene::protocol::signed_block_header
fc::ecc::public_key _signee
 
block_id_type _block_id
 

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 64 of file block.hpp.

Member Function Documentation

◆ calculate_merkle_root()

const checksum_type & signed_block::calculate_merkle_root ( ) const

Definition at line 70 of file block.cpp.

Member Data Documentation

◆ _calculated_merkle_root

checksum_type graphene::protocol::signed_block::_calculated_merkle_root
mutableprotected

Definition at line 70 of file block.hpp.

◆ transactions

vector<processed_transaction> graphene::protocol::signed_block::transactions

Definition at line 68 of file block.hpp.


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