BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
tracks the history of all logical operations on blockchain state More...
#include <operation_history_object.hpp>
Public Member Functions | |
operation_history_object (const operation &o) | |
operation_history_object ()=default | |
operation_history_object (const operation &o, uint32_t bn, uint16_t tib, uint16_t oit, uint32_t vo, bool iv, const time_point_sec &bt) | |
Public Member Functions inherited from graphene::db::abstract_object< operation_history_object, protocol_ids, operation_history_object_type > | |
abstract_object () | |
object_id< SpaceID, TypeID > | get_id () const |
Public Member Functions inherited from graphene::db::base_abstract_object< operation_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 | |
operation | op |
operation_result | result |
uint32_t | block_num = 0 |
uint16_t | trx_in_block = 0 |
uint16_t | op_in_trx = 0 |
uint32_t | virtual_op = 0 |
bool | is_virtual = false |
time_point_sec | block_time |
Public Attributes inherited from graphene::db::object | |
object_id_type | id |
Additional Inherited Members | |
Static Public Attributes inherited from graphene::db::abstract_object< operation_history_object, protocol_ids, operation_history_object_type > | |
static constexpr uint8_t | space_id |
static constexpr uint8_t | type_id |
tracks the history of all logical operations on blockchain state
All operations and virtual operations result in the creation of an operation_history_object that is maintained on disk as a stack. Each real or virtual operation is assigned a unique ID / sequence number that it can be referenced by.
Definition at line 48 of file operation_history_object.hpp.
|
inlineexplicit |
Definition at line 52 of file operation_history_object.hpp.
|
default |
|
inline |
Definition at line 54 of file operation_history_object.hpp.
uint32_t graphene::chain::operation_history_object::block_num = 0 |
the block that caused this operation
Definition at line 61 of file operation_history_object.hpp.
time_point_sec graphene::chain::operation_history_object::block_time |
The timestamp of the block that caused this operation
Definition at line 71 of file operation_history_object.hpp.
bool graphene::chain::operation_history_object::is_virtual = false |
Whether this is a virtual operation
Definition at line 69 of file operation_history_object.hpp.
operation graphene::chain::operation_history_object::op |
Definition at line 58 of file operation_history_object.hpp.
uint16_t graphene::chain::operation_history_object::op_in_trx = 0 |
the operation within the transaction
Definition at line 65 of file operation_history_object.hpp.
operation_result graphene::chain::operation_history_object::result |
Definition at line 59 of file operation_history_object.hpp.
uint16_t graphene::chain::operation_history_object::trx_in_block = 0 |
the transaction in the block
Definition at line 63 of file operation_history_object.hpp.
uint32_t graphene::chain::operation_history_object::virtual_op = 0 |
any virtual operations implied by operation in block
Definition at line 67 of file operation_history_object.hpp.