Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::account_statistics::detail::account_statistics_plugin_impl Class Reference

Public Member Functions

 account_statistics_plugin_impl (account_statistics_plugin &plugin)
 
virtual ~account_statistics_plugin_impl ()
 
void on_operation (const operation_notification &o)
 

Public Attributes

account_statistics_plugin_self
 
flat_set< uint32_t > _tracked_buckets
 
uint32_t _maximum_history_per_bucket_size = 100
 
flat_set< string > _tracked_accounts
 

Detailed Description

Definition at line 11 of file account_statistics_plugin.cpp.

Constructor & Destructor Documentation

◆ account_statistics_plugin_impl()

golos::account_statistics::detail::account_statistics_plugin_impl::account_statistics_plugin_impl ( account_statistics_plugin plugin)
inline

Definition at line 13 of file account_statistics_plugin.cpp.

◆ ~account_statistics_plugin_impl()

virtual golos::account_statistics::detail::account_statistics_plugin_impl::~account_statistics_plugin_impl ( )
inlinevirtual

Definition at line 17 of file account_statistics_plugin.cpp.

Member Function Documentation

◆ on_operation()

void golos::account_statistics::detail::account_statistics_plugin_impl::on_operation ( const operation_notification o)

Definition at line 48 of file account_statistics_plugin.cpp.

Member Data Documentation

◆ _maximum_history_per_bucket_size

uint32_t golos::account_statistics::detail::account_statistics_plugin_impl::_maximum_history_per_bucket_size = 100

Definition at line 26 of file account_statistics_plugin.cpp.

◆ _self

account_statistics_plugin& golos::account_statistics::detail::account_statistics_plugin_impl::_self

Definition at line 22 of file account_statistics_plugin.cpp.

◆ _tracked_accounts

flat_set<string> golos::account_statistics::detail::account_statistics_plugin_impl::_tracked_accounts

Definition at line 27 of file account_statistics_plugin.cpp.

◆ _tracked_buckets

flat_set<uint32_t> golos::account_statistics::detail::account_statistics_plugin_impl::_tracked_buckets
Initial value:
= {60, 3600, 21600, 86400,
604800, 2592000
}

Definition at line 23 of file account_statistics_plugin.cpp.


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