Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::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 golos::chain::block_summary_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 block_summary_object (Constructor &&c, allocator< Allocator > a)
 
 block_summary_object ()
 

Public Attributes

id_type id
 
block_id_type block_id
 

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 19 of file block_summary_object.hpp.

Constructor & Destructor Documentation

◆ block_summary_object() [1/2]

template<typename Constructor , typename Allocator >
golos::chain::block_summary_object::block_summary_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 23 of file block_summary_object.hpp.

◆ block_summary_object() [2/2]

golos::chain::block_summary_object::block_summary_object ( )
inline

Definition at line 27 of file block_summary_object.hpp.

Member Data Documentation

◆ block_id

block_id_type golos::chain::block_summary_object::block_id

Definition at line 31 of file block_summary_object.hpp.

◆ id

id_type golos::chain::block_summary_object::id

Definition at line 28 of file block_summary_object.hpp.


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