BitShares-Core  6.1.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Typedefs
operation_history_object.hpp File Reference
#include <graphene/protocol/operations.hpp>
#include <graphene/db/object.hpp>
#include <boost/multi_index/composite_key.hpp>

Go to the source code of this file.

Classes

class  graphene::chain::operation_history_object
 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...
 
class  graphene::chain::account_history_object
 a node in a linked list of operation_history_objectsAccount history is important for users and wallets even though it is not part of "core validation". Account history is maintained as a linked list stored on disk in a stack. Each account will point to the most recent account history object by ID. When a new operation relativent to that account is processed a new account history object is allcoated at the end of the stack and intialized to point to the prior object. More...
 

Namespaces

 graphene
 
 graphene::chain
 

Typedefs

using graphene::chain::operation_history_mlti_idx_type = multi_index_container< operation_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_block >, composite_key< operation_history_object, member< operation_history_object, uint32_t, &operation_history_object::block_num >, member< operation_history_object, uint16_t, &operation_history_object::trx_in_block >, member< operation_history_object, uint16_t, &operation_history_object::op_in_trx >, member< operation_history_object, uint32_t, &operation_history_object::virtual_op > > >, ordered_unique< tag< by_time >, composite_key< operation_history_object, member< operation_history_object, time_point_sec, &operation_history_object::block_time >, member< object, object_id_type, &object::id > >, composite_key_compare< std::greater< time_point_sec >, std::greater< object_id_type > > > > >
 
using graphene::chain::operation_history_index = generic_index< operation_history_object, operation_history_mlti_idx_type >
 
using graphene::chain::account_history_multi_idx_type = multi_index_container< account_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type, &object::id > >, ordered_unique< tag< by_seq >, composite_key< account_history_object, member< account_history_object, account_id_type, &account_history_object::account >, member< account_history_object, uint64_t, &account_history_object::sequence > > >, ordered_unique< tag< by_op >, composite_key< account_history_object, member< account_history_object, account_id_type, &account_history_object::account >, member< account_history_object, operation_history_id_type, &account_history_object::operation_id > >, composite_key_compare< std::less< account_id_type >, std::greater< operation_history_id_type > > >, ordered_non_unique< tag< by_opid >, member< account_history_object, operation_history_id_type, &account_history_object::operation_id > > > >
 
using graphene::chain::account_history_index = generic_index< account_history_object, account_history_multi_idx_type >