9namespace sysio {
namespace chain {
22 struct activated_protocol_feature {
26 activated_protocol_feature() =
default;
28 activated_protocol_feature(
const digest_type& feature_digest,
uint32_t activation_block_num )
29 :feature_digest( feature_digest )
30 ,activation_block_num( activation_block_num )
33 bool operator==(
const activated_protocol_feature& rhs)
const {
34 return feature_digest == rhs.feature_digest && activation_block_num == rhs.activation_block_num;
49 ordered_unique<tag<by_id>,
81FC_REFLECT(sysio::chain::protocol_state_object::activated_protocol_feature,
82 (feature_digest)(activation_block_num)
86 (activated_protocol_features)(preactivated_protocol_features)(whitelisted_intrinsics)(num_supported_key_types)
90 (activated_protocol_features)(preactivated_protocol_features)(whitelisted_intrinsics)(num_supported_key_types)
#define CHAINBASE_SET_INDEX_TYPE(OBJECT_TYPE, INDEX_TYPE)
Maintains global state information about consensus protocol rules.
whitelisted_intrinsics_type whitelisted_intrinsics
shared_vector< activated_protocol_feature > activated_protocol_features
uint32_t num_supported_key_types
shared_vector< digest_type > preactivated_protocol_features
bool operator==(const environment &other)
boost::multi_index_container< Object, Args..., chainbase::node_allocator< Object > > shared_multi_index_container
boost::interprocess::vector< T, allocator< T > > shared_vector
chainbase::shared_multi_index_container< protocol_state_object, indexed_by< ordered_unique< tag< by_id >, > > > protocol_state_multi_index
shared_flat_multimap< uint64_t, shared_string > whitelisted_intrinsics_type
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
static const snapshot_type & to_snapshot_row(const value_type &value, const chainbase::database &)
vector< protocol_state_object::activated_protocol_feature > activated_protocol_features
uint32_t num_supported_key_types
std::set< std::string > whitelisted_intrinsics
vector< digest_type > preactivated_protocol_features