BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
graphene::market_history::detail::market_history_plugin_impl Class Reference

Public Member Functions

 market_history_plugin_impl (market_history_plugin &_plugin)
 
virtual ~market_history_plugin_impl ()
 
void update_market_histories (const signed_block &b)
 
graphene::chain::databasedatabase ()
 

Public Attributes

market_history_plugin_self
 
flat_set< uint32_t > _tracked_buckets
 
uint32_t _maximum_history_per_bucket_size = 1000
 
uint32_t _max_order_his_records_per_market = 1000
 
uint32_t _max_order_his_seconds_per_market = 259200
 

Detailed Description

Definition at line 43 of file market_history_plugin.cpp.

Constructor & Destructor Documentation

graphene::market_history::detail::market_history_plugin_impl::market_history_plugin_impl ( market_history_plugin _plugin)
inline

Definition at line 46 of file market_history_plugin.cpp.

graphene::market_history::detail::market_history_plugin_impl::~market_history_plugin_impl ( )
virtual

Definition at line 293 of file market_history_plugin.cpp.

Member Function Documentation

graphene::chain::database& graphene::market_history::detail::market_history_plugin_impl::database ( )
inline

Definition at line 55 of file market_history_plugin.cpp.

void graphene::market_history::detail::market_history_plugin_impl::update_market_histories ( const signed_block &  b)

this method is called as a callback after a block is applied and will process/index all operations that were applied in the block.

Definition at line 296 of file market_history_plugin.cpp.

Member Data Documentation

uint32_t graphene::market_history::detail::market_history_plugin_impl::_max_order_his_records_per_market = 1000

Definition at line 63 of file market_history_plugin.cpp.

uint32_t graphene::market_history::detail::market_history_plugin_impl::_max_order_his_seconds_per_market = 259200

Definition at line 64 of file market_history_plugin.cpp.

uint32_t graphene::market_history::detail::market_history_plugin_impl::_maximum_history_per_bucket_size = 1000

Definition at line 62 of file market_history_plugin.cpp.

market_history_plugin& graphene::market_history::detail::market_history_plugin_impl::_self

Definition at line 60 of file market_history_plugin.cpp.

flat_set<uint32_t> graphene::market_history::detail::market_history_plugin_impl::_tracked_buckets

Definition at line 61 of file market_history_plugin.cpp.


The documentation for this class was generated from the following file: