BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Protected Attributes | List of all members
graphene::protocol::signed_block_header Class Reference

#include <block.hpp>

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

Public Member Functions

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
 
- Public Member Functions inherited from graphene::protocol::block_header
digest_type digest () const
 
uint32_t block_num () const
 

Public Attributes

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

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

Member Function Documentation

const block_id_type & graphene::protocol::signed_block_header::id ( ) const

Definition at line 41 of file block.cpp.

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

Definition at line 60 of file block.cpp.

const fc::ecc::public_key & graphene::protocol::signed_block_header::signee ( ) const

Definition at line 53 of file block.cpp.

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

Definition at line 65 of file block.cpp.

Member Data Documentation

block_id_type graphene::protocol::signed_block_header::_block_id
mutableprotected

Definition at line 56 of file block.hpp.

fc::ecc::public_key graphene::protocol::signed_block_header::_signee
mutableprotected

Definition at line 55 of file block.hpp.

signature_type graphene::protocol::signed_block_header::witness_signature

Definition at line 53 of file block.hpp.


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