BitShares-Core
7.0.0
BitShares blockchain node software and command-line wallet software
|
Public Member Functions | |
market_history_plugin_impl (market_history_plugin &_plugin) | |
void | update_market_histories (const signed_block &b) |
void | update_liquidity_pool_histories (time_point_sec time, const operation_history_object &oho, const lp_ticker_meta_object *&lp_meta) |
process all operations related to liquidity pools More... | |
graphene::chain::database & | database () |
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 |
Definition at line 43 of file market_history_plugin.cpp.
|
inlineexplicit |
Definition at line 46 of file market_history_plugin.cpp.
|
inline |
Definition at line 58 of file market_history_plugin.cpp.
void graphene::market_history::detail::market_history_plugin_impl::update_liquidity_pool_histories | ( | time_point_sec | time, |
const operation_history_object & | oho, | ||
const lp_ticker_meta_object *& | lp_meta | ||
) |
process all operations related to liquidity pools
Definition at line 536 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.
uint32_t graphene::market_history::detail::market_history_plugin_impl::_max_order_his_records_per_market = 1000 |
Definition at line 66 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 67 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 65 of file market_history_plugin.cpp.
market_history_plugin& graphene::market_history::detail::market_history_plugin_impl::_self |
Definition at line 63 of file market_history_plugin.cpp.
flat_set<uint32_t> graphene::market_history::detail::market_history_plugin_impl::_tracked_buckets |
Definition at line 64 of file market_history_plugin.cpp.