29 #include <boost/multi_index/composite_key.hpp>
31 namespace graphene {
namespace chain {
49 protocol_ids, operation_history_object_type>
96 implementation_ids, impl_account_history_object_type>
111 ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >,
112 ordered_unique< tag<by_block>,
114 member< operation_history_object, uint32_t, &operation_history_object::block_num>,
115 member< operation_history_object, uint16_t, &operation_history_object::trx_in_block>,
116 member< operation_history_object, uint16_t, &operation_history_object::op_in_trx>,
117 member< operation_history_object, uint32_t, &operation_history_object::virtual_op>
120 ordered_unique< tag<by_time>,
122 member< operation_history_object, time_point_sec, &operation_history_object::block_time>,
123 member< object, object_id_type, &object::id >
125 composite_key_compare<
126 std::greater< time_point_sec >,
127 std::greater< object_id_type >
142 ordered_unique< tag<by_id>, member< object, object_id_type, &object::id > >,
143 ordered_unique< tag<by_seq>,
145 member< account_history_object, account_id_type, &account_history_object::account>,
146 member< account_history_object, uint64_t, &account_history_object::sequence>
149 ordered_unique< tag<by_op>,
151 member< account_history_object, account_id_type, &account_history_object::account>,
152 member< account_history_object, operation_history_id_type, &account_history_object::operation_id>
154 composite_key_compare<
155 std::less< account_id_type >,
156 std::greater< operation_history_id_type >
159 ordered_non_unique< tag<by_opid>,
160 member< account_history_object, operation_history_id_type, &account_history_object::operation_id>