BitShares-Core  5.0.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_transaction_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

typedef multi_index_container< operation_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > > > > graphene::chain::operation_history_multi_index_type
 
typedef generic_index< operation_history_object, operation_history_multi_index_type > graphene::chain::operation_history_index
 
typedef multi_index_container< account_transaction_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_seq >, composite_key< account_transaction_history_object, member< account_transaction_history_object, account_id_type,&account_transaction_history_object::account >, member< account_transaction_history_object, uint64_t,&account_transaction_history_object::sequence > > >, ordered_unique< tag< by_op >, composite_key< account_transaction_history_object, member< account_transaction_history_object, account_id_type,&account_transaction_history_object::account >, member< account_transaction_history_object, operation_history_id_type,&account_transaction_history_object::operation_id > > >, ordered_non_unique< tag< by_opid >, member< account_transaction_history_object, operation_history_id_type,&account_transaction_history_object::operation_id > > > > graphene::chain::account_transaction_history_multi_index_type
 
typedef generic_index< account_transaction_history_object, account_transaction_history_multi_index_type > graphene::chain::account_transaction_history_index