17namespace sysio {
namespace chain {
108 ordered_unique<tag<by_id>,
134 value.proposed_schedule_block_num = row.proposed_schedule_block_num;
135 value.proposed_schedule = row.proposed_schedule.to_shared(
value.proposed_schedule.producers.get_allocator());
136 value.configuration = row.configuration;
137 value.chain_id = row.chain_id;
138 value.kv_configuration = row.kv_configuration;
139 value.wasm_configuration = row.wasm_configuration;
155 uint64_t global_action_sequence = 0;
161 ordered_unique<tag<by_id>,
174 (proposed_schedule_block_num)(proposed_schedule)(configuration)(chain_id)(kv_configuration)(wasm_configuration)
178 (proposed_schedule_block_num)(proposed_schedule)(configuration)
182 (proposed_schedule_block_num)(proposed_schedule)(configuration)(chain_id)
186 (proposed_schedule_block_num)(proposed_schedule)(configuration)(chain_id)(kv_configuration)(wasm_configuration)
190 (proposed_schedule_block_num)(proposed_schedule)(configuration)(chain_id)(kv_configuration)(wasm_configuration)
194 (global_action_sequence)
#define CHAINBASE_SET_INDEX_TYPE(OBJECT_TYPE, INDEX_TYPE)
Maintains global state information that frequently change.
Maintains global state information about block producer schedules and chain configuration parameters.
void initalize_from(const legacy::snapshot_global_property_object_v3 &legacy, const kv_database_config &kv_config_val, const wasm_config &wasm_config_val)
chain_config configuration
wasm_config wasm_configuration
shared_producer_authority_schedule proposed_schedule
kv_database_config kv_configuration
void initalize_from(const legacy::snapshot_global_property_object_v2 &legacy, const chain_id_type &chain_id_val, const kv_database_config &kv_config_val, const wasm_config &wasm_config_val)
std::optional< block_num_type > proposed_schedule_block_num
void initalize_from(const legacy::snapshot_global_property_object_v4 &legacy)
boost::multi_index_container< Object, Args..., chainbase::node_allocator< Object > > shared_multi_index_container
chainbase::shared_multi_index_container< global_property_object, indexed_by< ordered_unique< tag< by_id >, > > > global_property_multi_index
chainbase::shared_multi_index_container< dynamic_global_property_object, indexed_by< ordered_unique< tag< by_id >, > > > dynamic_global_property_multi_index
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
unsigned __int64 uint64_t
Producer-voted blockchain configuration parameters.
v1 Producer-voted blockchain configuration parameters
static void from_snapshot_row(snapshot_global_property_object &&row, global_property_object &value, chainbase::database &)
static snapshot_global_property_object to_snapshot_row(const global_property_object &value, const chainbase::database &)
limits for a kv database.
producer_schedule_type proposed_schedule
std::optional< block_num_type > proposed_schedule_block_num
static constexpr uint32_t maximum_version
static constexpr uint32_t minimum_version
chain_config_v0 configuration
chain_config_v0 configuration
static constexpr uint32_t minimum_version
static constexpr uint32_t maximum_version
producer_authority_schedule proposed_schedule
std::optional< block_num_type > proposed_schedule_block_num
chain_config_v0 configuration
wasm_config wasm_configuration
std::optional< block_num_type > proposed_schedule_block_num
kv_database_config kv_configuration
static constexpr uint32_t maximum_version
static constexpr uint32_t minimum_version
producer_authority_schedule proposed_schedule
static auto from_shared(const shared_producer_authority_schedule &src)
auto to_shared(chainbase::allocator< char > alloc) const
shared_vector< shared_producer_authority > producers
producer_authority_schedule proposed_schedule
chain_config configuration
std::optional< block_num_type > proposed_schedule_block_num
wasm_config wasm_configuration
kv_database_config kv_configuration