BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Attributes | Static Public Attributes | List of all members
graphene::chain::block_summary_object Class Reference

tracks minimal information about past blocks to implement TaPOSWhen attempting to calculate the validity of a transaction we need to lookup a past block and check its block hash and the time it occurred so we can calculate whether the current transaction is valid and at what time it should expire. More...

#include <block_summary_object.hpp>

Inheritance diagram for graphene::chain::block_summary_object:
graphene::db::abstract_object< block_summary_object > graphene::db::object

Public Attributes

block_id_type block_id
 
- Public Attributes inherited from graphene::db::object
object_id_type id
 

Static Public Attributes

static const uint8_t space_id = implementation_ids
 
static const uint8_t type_id = impl_block_summary_object_type
 
- Static Public Attributes inherited from graphene::db::object
static const uint8_t space_id = 0
 
static const uint8_t type_id = 0
 

Additional Inherited Members

- Public Member Functions inherited from graphene::db::abstract_object< block_summary_object >
virtual unique_ptr< objectclone () const
 these methods are implemented for derived classes by inheriting abstract_object<DerivedClass> More...
 
virtual void move_from (object &obj)
 
virtual variant to_variant () const
 
virtual vector< char > pack () const
 
- Public Member Functions inherited from graphene::db::object
 object ()
 
virtual ~object ()
 

Detailed Description

tracks minimal information about past blocks to implement TaPOS

When attempting to calculate the validity of a transaction we need to lookup a past block and check its block hash and the time it occurred so we can calculate whether the current transaction is valid and at what time it should expire.

Definition at line 40 of file block_summary_object.hpp.

Member Data Documentation

block_id_type graphene::chain::block_summary_object::block_id

Definition at line 46 of file block_summary_object.hpp.

const uint8_t graphene::chain::block_summary_object::space_id = implementation_ids
static

Definition at line 43 of file block_summary_object.hpp.

const uint8_t graphene::chain::block_summary_object::type_id = impl_block_summary_object_type
static

Definition at line 44 of file block_summary_object.hpp.


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