Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::transaction_object Class Reference

#include <transaction_object.hpp>

Inheritance diagram for golos::chain::transaction_object:

Public Member Functions

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

Public Attributes

id_type id
boost::interprocess::vector< char, allocator< char > > packed_trx
transaction_id_type trx_id
time_point_sec expiration

Detailed Description

The purpose of this object is to enable the detection of duplicate transactions. When a transaction is included in a block a transaction_object is added. At the end of block processing all transaction_objects that have expired can be removed from the index.

Definition at line 19 of file transaction_object.hpp.

Constructor & Destructor Documentation

◆ transaction_object()

template<typename Constructor , typename Allocator >
golos::chain::transaction_object::transaction_object ( Constructor &&  c,
allocator< Allocator >  a 

Definition at line 25 of file transaction_object.hpp.

Member Data Documentation

◆ expiration

time_point_sec golos::chain::transaction_object::expiration

Definition at line 34 of file transaction_object.hpp.

◆ id

id_type golos::chain::transaction_object::id

Definition at line 30 of file transaction_object.hpp.

◆ packed_trx

boost::interprocess::vector<char, allocator<char> > golos::chain::transaction_object::packed_trx

Definition at line 32 of file transaction_object.hpp.

◆ trx_id

transaction_id_type golos::chain::transaction_object::trx_id

Definition at line 33 of file transaction_object.hpp.

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