Scorum
Namespaces | Classes | Typedefs | Enumerations
scorum::blockchain_history Namespace Reference

Namespaces

 detail
 
 impl
 

Classes

class  account_history_api
 
struct  signed_block_api_obj
 
struct  block_api_operation_object
 
struct  block_api_object
 
class  blockchain_history_api
 
class  blockchain_history_plugin
 
class  devcommittee_history_api
 
struct  applied_operation
 
struct  applied_withdraw_operation
 
class  operation_object
 
class  filtered_operation_object
 

Typedefs

template<typename history_object_t >
using account_history_index = shared_multi_index_container< history_object_t, indexed_by< ordered_unique< tag< by_id >, member< history_object_t, typename history_object_t::id_type, &history_object_t::id > >, ordered_unique< tag< by_account >, composite_key< history_object_t, member< history_object_t, account_name_type, &history_object_t::account >, member< history_object_t, uint32_t, &history_object_t::sequence > >, composite_key_compare< std::less< account_name_type >, std::greater< uint32_t > >> >>
 
template<typename history_object_t >
using devcommittee_history_index = shared_multi_index_container< history_object_t, indexed_by< ordered_unique< tag< by_id >, member< history_object_t, typename history_object_t::id_type, &history_object_t::id > >, ordered_unique< tag< by_id_desc >, member< history_object_t, typename history_object_t::id_type, &history_object_t::id >, std::greater< typename history_object_t::id_type > >> >
 
using account_history_object = impl::account_history_object< account_all_operations_history >
 
using account_transfers_to_scr_history_object = impl::account_history_object< account_scr_to_scr_transfers_history >
 
using account_transfers_to_sp_history_object = impl::account_history_object< account_scr_to_sp_transfers_history >
 
using account_withdrawals_to_scr_history_object = impl::withdrawals_account_history_object< account_sp_to_scr_withdrawals_history >
 
using devcommittee_history_object = impl::devcommittee_history_object< devcommittee_all_operations_history >
 
using devcommittee_transfers_to_scr_history_object = impl::devcommittee_history_object< devcommittee_scr_to_scr_transfers_history >
 
using devcommittee_withdrawals_to_scr_history_object = impl::withdrawals_devcommittee_history_object< devcommittee_sp_to_scr_withdrawals_history >
 
using account_operations_full_history_index = account_history_index< account_history_object >
 
using account_transfers_to_scr_history_index = account_history_index< account_transfers_to_scr_history_object >
 
using account_transfers_to_sp_history_index = account_history_index< account_transfers_to_sp_history_object >
 
using account_withdrawals_to_scr_history_index = account_history_index< account_withdrawals_to_scr_history_object >
 
using devcommittee_operations_full_history_index = devcommittee_history_index< devcommittee_history_object >
 
using devcommittee_transfers_to_scr_history_index = devcommittee_history_index< devcommittee_transfers_to_scr_history_object >
 
using devcommittee_withdrawals_to_scr_history_index = devcommittee_history_index< devcommittee_withdrawals_to_scr_history_object >
 
typedef shared_multi_index_container< operation_object, indexed_by< ordered_unique< tag< by_id >, member< operation_object, operation_object::id_type, &operation_object::id > >, ordered_unique< tag< by_location >, composite_key< operation_object, member< operation_object, uint32_t, &operation_object::block >, member< operation_object, uint32_t, &operation_object::trx_in_block >, member< operation_object, uint16_t, &operation_object::op_in_trx >, member< operation_object, operation_object::id_type, &operation_object::id > > >, ordered_unique< tag< by_timestamp >, composite_key< operation_object, member< operation_object, fc::time_point_sec, &operation_object::timestamp >, member< operation_object, operation_object::id_type, &operation_object::id > > >, ordered_unique< tag< by_transaction_id >, composite_key< operation_object, member< operation_object, transaction_id_type, &operation_object::trx_id >, member< operation_object, operation_object::id_type, &operation_object::id > > > > > operation_index
 
template<blockchain_history_object_type OperationType>
using filtered_operation_index = shared_multi_index_container< filtered_operation_object< OperationType >, indexed_by< ordered_unique< tag< by_id >, member< filtered_operation_object< OperationType >, typename filtered_operation_object< OperationType >::id_type, &filtered_operation_object< OperationType >::id > >> >
 
using filtered_not_virt_operations_history_object = filtered_operation_object< filtered_not_virt_operations_history >
 
using filtered_virt_operations_history_object = filtered_operation_object< filtered_virt_operations_history >
 
using filtered_market_operations_history_object = filtered_operation_object< filtered_market_operations_history >
 
using filtered_not_virt_operations_history_index = filtered_operation_index< filtered_not_virt_operations_history >
 
using filtered_virt_operations_history_index = filtered_operation_index< filtered_virt_operations_history >
 
using filtered_market_operations_history_index = filtered_operation_index< filtered_market_operations_history >
 

Enumerations

enum class  applied_operation_type { all = 0 , not_virt , virt , market }
 
enum  blockchain_history_object_type {
  operations_history = (BLOCKCHAIN_HISTORY_SPACE_ID << 8) , account_all_operations_history , account_scr_to_scr_transfers_history , account_scr_to_sp_transfers_history ,
  account_sp_to_scr_withdrawals_history , filtered_not_virt_operations_history , filtered_virt_operations_history , filtered_market_operations_history ,
  devcommittee_all_operations_history , devcommittee_scr_to_scr_transfers_history , devcommittee_sp_to_scr_withdrawals_history
}
 

Typedef Documentation

◆ account_history_index

template<typename history_object_t >
using scorum::blockchain_history::account_history_index = typedef shared_multi_index_container<history_object_t, indexed_by<ordered_unique<tag<by_id>, member<history_object_t, typename history_object_t::id_type, &history_object_t::id> >, ordered_unique<tag<by_account>, composite_key<history_object_t, member<history_object_t, account_name_type, &history_object_t::account>, member<history_object_t, uint32_t, &history_object_t::sequence> >, composite_key_compare<std::less<account_name_type>, std::greater<uint32_t> >> >>

Definition at line 70 of file history_object.hpp.

◆ account_history_object

Definition at line 102 of file history_object.hpp.

◆ account_operations_full_history_index

Definition at line 114 of file history_object.hpp.

◆ account_transfers_to_scr_history_index

Definition at line 115 of file history_object.hpp.

◆ account_transfers_to_scr_history_object

Definition at line 103 of file history_object.hpp.

◆ account_transfers_to_sp_history_index

Definition at line 116 of file history_object.hpp.

◆ account_transfers_to_sp_history_object

Definition at line 104 of file history_object.hpp.

◆ account_withdrawals_to_scr_history_index

Definition at line 117 of file history_object.hpp.

◆ account_withdrawals_to_scr_history_object

Definition at line 105 of file history_object.hpp.

◆ devcommittee_history_index

template<typename history_object_t >
using scorum::blockchain_history::devcommittee_history_index = typedef shared_multi_index_container<history_object_t, indexed_by<ordered_unique<tag<by_id>, member<history_object_t, typename history_object_t::id_type, &history_object_t::id> >, ordered_unique<tag<by_id_desc>, member<history_object_t, typename history_object_t::id_type, &history_object_t::id>, std::greater<typename history_object_t::id_type> >> >

Definition at line 90 of file history_object.hpp.

◆ devcommittee_history_object

Definition at line 108 of file history_object.hpp.

◆ devcommittee_operations_full_history_index

Definition at line 119 of file history_object.hpp.

◆ devcommittee_transfers_to_scr_history_index

Definition at line 120 of file history_object.hpp.

◆ devcommittee_transfers_to_scr_history_object

Definition at line 109 of file history_object.hpp.

◆ devcommittee_withdrawals_to_scr_history_index

Definition at line 122 of file history_object.hpp.

◆ devcommittee_withdrawals_to_scr_history_object

Definition at line 111 of file history_object.hpp.

◆ filtered_market_operations_history_index

Definition at line 110 of file operation_objects.hpp.

◆ filtered_market_operations_history_object

Definition at line 106 of file operation_objects.hpp.

◆ filtered_not_virt_operations_history_index

Definition at line 108 of file operation_objects.hpp.

◆ filtered_not_virt_operations_history_object

Definition at line 104 of file operation_objects.hpp.

◆ filtered_operation_index

template<blockchain_history_object_type OperationType>
using scorum::blockchain_history::filtered_operation_index = typedef shared_multi_index_container<filtered_operation_object<OperationType>, indexed_by<ordered_unique<tag<by_id>, member<filtered_operation_object<OperationType>, typename filtered_operation_object<OperationType>:: id_type, &filtered_operation_object<OperationType>::id> >> >

Definition at line 96 of file operation_objects.hpp.

◆ filtered_virt_operations_history_index

Definition at line 109 of file operation_objects.hpp.

◆ filtered_virt_operations_history_object

Definition at line 105 of file operation_objects.hpp.

◆ operation_index

typedef shared_multi_index_container<operation_object, indexed_by<ordered_unique<tag<by_id>, member<operation_object, operation_object::id_type, &operation_object::id> >, ordered_unique<tag<by_location>, composite_key<operation_object, member<operation_object, uint32_t, &operation_object::block>, member<operation_object, uint32_t, &operation_object::trx_in_block>, member<operation_object, uint16_t, &operation_object::op_in_trx>, member<operation_object, operation_object::id_type, &operation_object::id> > >, ordered_unique<tag<by_timestamp>, composite_key<operation_object, member<operation_object, fc::time_point_sec, &operation_object::timestamp>, member<operation_object, operation_object::id_type, &operation_object::id> > > , ordered_unique<tag<by_transaction_id>, composite_key<operation_object, member<operation_object, transaction_id_type, &operation_object::trx_id>, member<operation_object, operation_object::id_type, &operation_object::id> > > > > scorum::blockchain_history::operation_index

Definition at line 81 of file operation_objects.hpp.

Enumeration Type Documentation

◆ applied_operation_type

Enumerator
all 
not_virt 
virt 
market 

Definition at line 42 of file applied_operation.hpp.

◆ blockchain_history_object_type

Enumerator
operations_history 
account_all_operations_history 
account_scr_to_scr_transfers_history 
account_scr_to_sp_transfers_history 
account_sp_to_scr_withdrawals_history 
filtered_not_virt_operations_history 
filtered_virt_operations_history 
filtered_market_operations_history 
devcommittee_all_operations_history 
devcommittee_scr_to_scr_transfers_history 
devcommittee_sp_to_scr_withdrawals_history 

Definition at line 25 of file blockchain_objects.hpp.