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

#include <block.hpp>

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

Public Member Functions

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 graphene::chain::block_header
digest_type digest () const
uint32_t block_num () const

Public Attributes

signature_type witness_signature
- Public Attributes inherited from graphene::chain::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::chain::block_header
static uint32_t num_from_id (const block_id_type &id)

Detailed Description

Definition at line 44 of file block.hpp.

Member Function Documentation

◆ id()

block_id_type graphene::chain::signed_block_header::id ( ) const

Definition at line 40 of file block.cpp.

◆ sign()

void graphene::chain::signed_block_header::sign ( const fc::ecc::private_key &  signer)

Definition at line 55 of file block.cpp.

◆ signee()

fc::ecc::public_key graphene::chain::signed_block_header::signee ( ) const

Definition at line 50 of file block.cpp.

◆ validate_signee()

bool graphene::chain::signed_block_header::validate_signee ( const fc::ecc::public_key &  expected_signee) const

Definition at line 60 of file block.cpp.

Member Data Documentation

◆ witness_signature

signature_type graphene::chain::signed_block_header::witness_signature

Definition at line 51 of file block.hpp.

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