BitShares-Core  5.1.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
graphene::chain::transaction_history_object Class Reference

#include <transaction_history_object.hpp>

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

Public Member Functions

time_point_sec get_expiration () const
- Public Member Functions inherited from graphene::db::abstract_object< transaction_history_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 ()

Public Attributes

signed_transaction trx
transaction_id_type trx_id
- Public Attributes inherited from graphene::db::object
object_id_type id

Static Public Attributes

static constexpr uint8_t space_id = implementation_ids
static constexpr uint8_t type_id = impl_transaction_history_object_type

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_history_object is added. At the end of block processing all transaction_history_objects that have expired can be removed from the index.

Definition at line 44 of file transaction_history_object.hpp.

Member Function Documentation

time_point_sec graphene::chain::transaction_history_object::get_expiration ( ) const

Definition at line 53 of file transaction_history_object.hpp.

Member Data Documentation

constexpr uint8_t graphene::chain::transaction_history_object::space_id = implementation_ids

Definition at line 47 of file transaction_history_object.hpp.

signed_transaction graphene::chain::transaction_history_object::trx

Definition at line 50 of file transaction_history_object.hpp.

transaction_id_type graphene::chain::transaction_history_object::trx_id

Definition at line 51 of file transaction_history_object.hpp.

constexpr uint8_t graphene::chain::transaction_history_object::type_id = impl_transaction_history_object_type

Definition at line 48 of file transaction_history_object.hpp.

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