BitShares-Core
5.1.0
BitShares blockchain implementation and command-line interface software
|
tracks the history of all logical operations on blockchain stateAll 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. More...
#include <operation_history_object.hpp>
Public Member Functions | |
operation_history_object (const operation &o) | |
operation_history_object () | |
![]() | |
virtual unique_ptr< object > | clone () 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 |
![]() | |
object () | |
virtual | ~object () |
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 |
![]() | |
object_id_type | id |
Static Public Attributes | |
static constexpr uint8_t | space_id = protocol_ids |
static constexpr uint8_t | type_id = operation_history_object_type |
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.
|
inline |
Definition at line 54 of file operation_history_object.hpp.
|
inline |
Definition at line 55 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 60 of file operation_history_object.hpp.
operation graphene::chain::operation_history_object::op |
Definition at line 57 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 64 of file operation_history_object.hpp.
operation_result graphene::chain::operation_history_object::result |
Definition at line 58 of file operation_history_object.hpp.
|
static |
Definition at line 51 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 62 of file operation_history_object.hpp.
|
static |
Definition at line 52 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 66 of file operation_history_object.hpp.