3 #include <boost/multi_index/composite_key.hpp>
5 #include <fc/shared_containers.hpp>
21 #ifndef ACCOUNT_STATISTICS_SPACE_ID
22 #define ACCOUNT_STATISTICS_SPACE_ID 10
26 namespace account_statistics {
53 uint32_t active_market_accounts = 0;
54 uint32_t active_forum_accounts = 0;
55 uint32_t active_market_and_forum_accounts = 0;
61 indexed_by<ordered_unique<tag<by_id>,
65 ordered_unique<tag<common_statistics::by_bucket>,
67 member<common_statistics::
71 base_bucket_object::seconds>,
72 member<common_statistics::
76 base_bucket_object::open>>>>>
92 (active_market_accounts)
93 (active_forum_accounts)
94 (active_market_and_forum_accounts)
activity_bucket_object::id_type activity_bucket_id_type
account_statistics_plugin_object_types
@ activity_bucket_object_type
bucket_object::id_type bucket_id_type
shared_multi_index_container< bucket_object, indexed_by< ordered_unique< tag< by_id >, member< bucket_object, bucket_id_type, &bucket_object::id > >, ordered_unique< tag< common_statistics::by_bucket >, composite_key< bucket_object, member< common_statistics::base_bucket_object, uint32_t, &common_statistics::base_bucket_object::seconds >, member< common_statistics::base_bucket_object, fc::time_point_sec, &common_statistics::base_bucket_object::open > > > > > bucket_index
fc::fixed_string_16 account_name_type
#define ACCOUNT_STATISTICS_SPACE_ID