3 #include <boost/multi_index/composite_key.hpp>
8 #include <fc/shared_containers.hpp>
10 #ifndef BLOCKCHAIN_STATISTICS_SPACE_ID
11 #define BLOCKCHAIN_STATISTICS_SPACE_ID 9
15 namespace blockchain_monitoring {
26 public object<bucket_object_type, bucket_object>
28 CHAINBASE_DEFAULT_DYNAMIC_CONSTRUCTOR(
bucket_object, (missed_blocks))
39 indexed_by<ordered_unique<tag<by_id>,
43 ordered_unique<tag<common_statistics::by_bucket>,
45 member<common_statistics::
49 base_bucket_object::seconds>,
50 member<common_statistics::
54 base_bucket_object::open>>>>>
#define BLOCKCHAIN_STATISTICS_SPACE_ID
blockchain_statistics_object_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