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

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>

Inheritance diagram for graphene::chain::operation_history_object:

Public Member Functions

 operation_history_object (const operation &o)
 
 operation_history_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
 
uint16_t virtual_op = 0
 

Static Public Attributes

static const uint8_t space_id = protocol_ids
 
static const uint8_t type_id = operation_history_object_type
 

Detailed Description

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.

Note
by default these objects are not tracked, the account_history_plugin must be loaded fore these objects to be maintained.
this object is READ ONLY it can never be modified

Definition at line 46 of file operation_history_object.hpp.

Constructor & Destructor Documentation

◆ operation_history_object() [1/2]

graphene::chain::operation_history_object::operation_history_object ( const operation o)
inline

Definition at line 52 of file operation_history_object.hpp.

◆ operation_history_object() [2/2]

graphene::chain::operation_history_object::operation_history_object ( )
inline

Definition at line 53 of file operation_history_object.hpp.

Member Data Documentation

◆ block_num

uint32_t graphene::chain::operation_history_object::block_num = 0

the block that caused this operation

Definition at line 58 of file operation_history_object.hpp.

◆ op

operation graphene::chain::operation_history_object::op

Definition at line 55 of file operation_history_object.hpp.

◆ op_in_trx

uint16_t graphene::chain::operation_history_object::op_in_trx = 0

the operation within the transaction

Definition at line 62 of file operation_history_object.hpp.

◆ result

operation_result graphene::chain::operation_history_object::result

Definition at line 56 of file operation_history_object.hpp.

◆ space_id

const uint8_t graphene::chain::operation_history_object::space_id = protocol_ids
static

Definition at line 49 of file operation_history_object.hpp.

◆ trx_in_block

uint16_t graphene::chain::operation_history_object::trx_in_block = 0

the transaction in the block

Definition at line 60 of file operation_history_object.hpp.

◆ type_id

const uint8_t graphene::chain::operation_history_object::type_id = operation_history_object_type
static

Definition at line 50 of file operation_history_object.hpp.

◆ virtual_op

uint16_t graphene::chain::operation_history_object::virtual_op = 0

any virtual operations implied by operation in block

Definition at line 64 of file operation_history_object.hpp.


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