BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Macros | Typedefs | Enumerations
market_history_plugin.hpp File Reference
#include <graphene/app/plugin.hpp>
#include <graphene/chain/database.hpp>
#include <fc/thread/future.hpp>
#include <fc/uint128.hpp>
#include <boost/multi_index/composite_key.hpp>

Go to the source code of this file.

Classes

struct  graphene::market_history::bucket_key
 
struct  graphene::market_history::bucket_object
 
struct  graphene::market_history::history_key
 
struct  graphene::market_history::order_history_object
 
struct  graphene::market_history::order_history_object_key_base_extractor
 
struct  graphene::market_history::order_history_object_key_quote_extractor
 
struct  graphene::market_history::order_history_object_key_sequence_extractor
 
struct  graphene::market_history::market_ticker_object
 
struct  graphene::market_history::market_ticker_meta_object
 
class  graphene::market_history::market_history_plugin
 

Namespaces

 graphene
 
 graphene::market_history
 
 graphene::market_history::detail
 

Macros

#define MARKET_HISTORY_SPACE_ID   5
 

Typedefs

typedef multi_index_container< bucket_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_key >, member< bucket_object, bucket_key,&bucket_object::key > > >> graphene::market_history::bucket_object_multi_index_type
 
typedef multi_index_container< order_history_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_unique< tag< by_key >, member< order_history_object, history_key,&order_history_object::key > >, ordered_unique< tag< by_market_time >, composite_key< order_history_object, order_history_object_key_base_extractor, order_history_object_key_quote_extractor, member< order_history_object, time_point_sec,&order_history_object::time >, order_history_object_key_sequence_extractor >, composite_key_compare< std::less< asset_id_type >, std::less< asset_id_type >, std::greater< time_point_sec >, std::less< int64_t > > > >> graphene::market_history::order_history_multi_index_type
 
typedef multi_index_container< market_ticker_object, indexed_by< ordered_unique< tag< by_id >, member< object, object_id_type,&object::id > >, ordered_non_unique< tag< by_volume >, member< market_ticker_object, fc::uint128_t,&market_ticker_object::base_volume > >, ordered_unique< tag< by_market >, composite_key< market_ticker_object, member< market_ticker_object, asset_id_type,&market_ticker_object::base >, member< market_ticker_object, asset_id_type,&market_ticker_object::quote > > > >> graphene::market_history::market_ticker_object_multi_index_type
 
typedef generic_index< bucket_object, bucket_object_multi_index_type > graphene::market_history::bucket_index
 
typedef generic_index< order_history_object, order_history_multi_index_type > graphene::market_history::history_index
 
typedef generic_index< market_ticker_object, market_ticker_object_multi_index_type > graphene::market_history::market_ticker_index
 

Enumerations

enum  graphene::market_history::market_history_object_type { graphene::market_history::order_history_object_type = 0, graphene::market_history::bucket_object_type = 1, graphene::market_history::market_ticker_object_type = 2, graphene::market_history::market_ticker_meta_object_type = 3 }
 

Macro Definition Documentation

#define MARKET_HISTORY_SPACE_ID   5

Definition at line 48 of file market_history_plugin.hpp.