Scorum
Public Member Functions | Public Attributes | List of all members
scorum::protocol::signed_block Struct Reference

#include <block.hpp>

Inheritance diagram for scorum::protocol::signed_block:
scorum::protocol::signed_block_header scorum::protocol::block_header scorum::blockchain_history::signed_block_api_obj

Public Member Functions

checksum_type calculate_merkle_root () const
 
- Public Member Functions inherited from scorum::protocol::signed_block_header
block_id_type id () const
 
fc::ecc::public_key signee () const
 
void sign (const fc::ecc::private_key &signer)
 
bool validate_signee (const fc::ecc::public_key &expected_signee) const
 
- Public Member Functions inherited from scorum::protocol::block_header
digest_type digest () const
 
uint32_t block_num () const
 

Public Attributes

std::vector< signed_transactiontransactions
 
- Public Attributes inherited from scorum::protocol::signed_block_header
signature_type witness_signature
 
- Public Attributes inherited from scorum::protocol::block_header
block_id_type previous
 
fc::time_point_sec timestamp
 
std::string witness
 
checksum_type transaction_merkle_root
 
block_header_extensions_type extensions
 

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file block.hpp.

Member Function Documentation

◆ calculate_merkle_root()

checksum_type scorum::protocol::signed_block::calculate_merkle_root ( ) const

Definition at line 45 of file block.cpp.

Member Data Documentation

◆ transactions

std::vector<signed_transaction> scorum::protocol::signed_block::transactions

Definition at line 13 of file block.hpp.


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