BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
tracks minimal information about past blocks to implement TaPOS More...
#include <block_summary_object.hpp>
Public Attributes | |
block_id_type | block_id |
Public Attributes inherited from graphene::db::object | |
object_id_type | id |
Additional Inherited Members | |
Public Member Functions inherited from graphene::db::abstract_object< block_summary_object, implementation_ids, impl_block_summary_object_type > | |
abstract_object () | |
object_id< SpaceID, TypeID > | get_id () const |
Public Member Functions inherited from graphene::db::base_abstract_object< block_summary_object > | |
std::unique_ptr< object > | clone () const override |
void | move_from (object &obj) override |
fc::variant | to_variant () const override |
std::vector< char > | pack () const override |
object ()=default | |
object (uint8_t space_id, uint8_t type_id) | |
Public Member Functions inherited from graphene::db::object | |
object ()=default | |
object (uint8_t space_id, uint8_t type_id) | |
virtual | ~object ()=default |
virtual std::unique_ptr< object > | clone () const =0 |
virtual fc::variant | to_variant () const =0 |
virtual std::vector< char > | pack () const =0 |
Static Public Attributes inherited from graphene::db::abstract_object< block_summary_object, implementation_ids, impl_block_summary_object_type > | |
static constexpr uint8_t | space_id |
static constexpr uint8_t | type_id |
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.
block_id_type graphene::chain::block_summary_object::block_id |
Definition at line 44 of file block_summary_object.hpp.