Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::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 golos::chain::operation_history_object:

Public Member Functions

 operation_history_object ()=delete
 
template<typename Constructor , typename Allocator >
 operation_history_object (Constructor &&c, allocator< Allocator > a)
 

Public Attributes

id_type id
 
protocol::operation op
 
uint32_t block_num = 0
 
uint16_t trx_in_block = 0
 
uint16_t op_in_trx = 0
 
uint16_t virtual_op = 0
 

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 25 of file operation_history_object.hpp.

Constructor & Destructor Documentation

◆ operation_history_object() [1/2]

golos::chain::operation_history_object::operation_history_object ( )
delete

◆ operation_history_object() [2/2]

template<typename Constructor , typename Allocator >
golos::chain::operation_history_object::operation_history_object ( Constructor &&  c,
allocator< Allocator >  a 
)
inline

Definition at line 31 of file operation_history_object.hpp.

Member Data Documentation

◆ block_num

uint32_t golos::chain::operation_history_object::block_num = 0

the block that caused this operation

Definition at line 39 of file operation_history_object.hpp.

◆ id

id_type golos::chain::operation_history_object::id

Definition at line 33 of file operation_history_object.hpp.

◆ op

protocol::operation golos::chain::operation_history_object::op

Definition at line 37 of file operation_history_object.hpp.

◆ op_in_trx

uint16_t golos::chain::operation_history_object::op_in_trx = 0

the operation within the transaction

Definition at line 43 of file operation_history_object.hpp.

◆ trx_in_block

uint16_t golos::chain::operation_history_object::trx_in_block = 0

the transaction in the block

Definition at line 41 of file operation_history_object.hpp.

◆ virtual_op

uint16_t golos::chain::operation_history_object::virtual_op = 0

any virtual operations implied by operation in block

Definition at line 45 of file operation_history_object.hpp.


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