BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <transaction_history_object.hpp>
Public Member Functions | |
time_point_sec | get_expiration () const |
Public Member Functions inherited from graphene::db::abstract_object< transaction_history_object, implementation_ids, impl_transaction_history_object_type > | |
abstract_object () | |
object_id< SpaceID, TypeID > | get_id () const |
Public Member Functions inherited from graphene::db::base_abstract_object< transaction_history_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 |
Public Attributes | |
signed_transaction | trx |
transaction_id_type | trx_id |
Public Attributes inherited from graphene::db::object | |
object_id_type | id |
Additional Inherited Members | |
Static Public Attributes inherited from graphene::db::abstract_object< transaction_history_object, implementation_ids, impl_transaction_history_object_type > | |
static constexpr uint8_t | space_id |
static constexpr uint8_t | type_id |
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.
|
inline |
Definition at line 51 of file transaction_history_object.hpp.
signed_transaction graphene::chain::transaction_history_object::trx |
Definition at line 48 of file transaction_history_object.hpp.
transaction_id_type graphene::chain::transaction_history_object::trx_id |
Definition at line 49 of file transaction_history_object.hpp.