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

Public Member Functions

 blockchain_statistics_plugin_impl (blockchain_statistics_plugin &plugin)
 
virtual ~blockchain_statistics_plugin_impl ()
 
void on_block (const signed_block &b)
 
void pre_operation (const operation_notification &o)
 
void post_operation (const operation_notification &o)
 

Public Attributes

blockchain_statistics_plugin_self
 
flat_set< uint32_t > _tracked_buckets = {60, 3600, 21600, 86400, 604800, 2592000}
 
flat_set< bucket_id_type_current_buckets
 
uint32_t _maximum_history_per_bucket_size = 100
 

Detailed Description

Definition at line 17 of file blockchain_statistics_plugin.cpp.

Constructor & Destructor Documentation

◆ blockchain_statistics_plugin_impl()

golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::blockchain_statistics_plugin_impl ( blockchain_statistics_plugin plugin)
inline

Definition at line 19 of file blockchain_statistics_plugin.cpp.

◆ ~blockchain_statistics_plugin_impl()

virtual golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::~blockchain_statistics_plugin_impl ( )
inlinevirtual

Definition at line 22 of file blockchain_statistics_plugin.cpp.

Member Function Documentation

◆ on_block()

void golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::on_block ( const signed_block &  b)

Definition at line 326 of file blockchain_statistics_plugin.cpp.

◆ post_operation()

void golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::post_operation ( const operation_notification o)

Definition at line 398 of file blockchain_statistics_plugin.cpp.

◆ pre_operation()

void golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::pre_operation ( const operation_notification o)
inline

Definition at line 27 of file blockchain_statistics_plugin.cpp.

Member Data Documentation

◆ _current_buckets

flat_set<bucket_id_type> golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::_current_buckets

Definition at line 123 of file blockchain_statistics_plugin.cpp.

◆ _maximum_history_per_bucket_size

uint32_t golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::_maximum_history_per_bucket_size = 100

Definition at line 124 of file blockchain_statistics_plugin.cpp.

◆ _self

blockchain_statistics_plugin& golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::_self

Definition at line 121 of file blockchain_statistics_plugin.cpp.

◆ _tracked_buckets

flat_set<uint32_t> golos::blockchain_statistics::detail::blockchain_statistics_plugin_impl::_tracked_buckets = {60, 3600, 21600, 86400, 604800, 2592000}

Definition at line 122 of file blockchain_statistics_plugin.cpp.


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