Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
block_summary_object.hpp
Go to the documentation of this file.
1#pragma once
3
5
6namespace sysio { namespace chain {
16 class block_summary_object : public chainbase::object<block_summary_object_type, block_summary_object>
17 {
19
20 id_type id;
21 block_id_type block_id;
22 };
23
24 struct by_block_id;
27 indexed_by<
28 ordered_unique<tag<by_id>, BOOST_MULTI_INDEX_MEMBER(block_summary_object, block_summary_object::id_type, id)>
29 // ordered_unique<tag<by_block_id>, BOOST_MULTI_INDEX_MEMBER(block_summary_object, block_id_type, block_id)>
30 >
31 >;
32
33} }
34
36
#define OBJECT_CTOR(...)
Definition types.hpp:39
#define CHAINBASE_SET_INDEX_TYPE(OBJECT_TYPE, INDEX_TYPE)
tracks minimal information about past blocks to implement TaPOS
boost::multi_index_container< Object, Args..., chainbase::node_allocator< Object > > shared_multi_index_container
chainbase::shared_multi_index_container< block_summary_object, indexed_by< ordered_unique< tag< by_id >, BOOST_MULTI_INDEX_MEMBER(block_summary_object, block_summary_object::id_type, id)> > > block_summary_multi_index
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
Definition reflect.hpp:311