Wire Sysio Wire Sysion 1.0.0
|
v1 Producer-voted blockchain configuration parameters More...
#include <chain_config.hpp>
Public Types | |
enum | { max_action_return_value_size_id = Base::PARAMS_COUNT , PARAMS_COUNT } |
using | Base = chain_config_v0 |
Public Types inherited from sysio::chain::chain_config_v0 | |
enum | { max_block_net_usage_id , target_block_net_usage_pct_id , max_transaction_net_usage_id , base_per_transaction_net_usage_id , net_usage_leeway_id , context_free_discount_net_usage_num_id , context_free_discount_net_usage_den_id , max_block_cpu_usage_id , target_block_cpu_usage_pct_id , max_transaction_cpu_usage_id , min_transaction_cpu_usage_id , max_transaction_lifetime_id , deferred_trx_expiration_window_id , max_transaction_delay_id , max_inline_action_size_id , max_inline_action_depth_id , max_authority_depth_id , PARAMS_COUNT } |
Public Member Functions | |
const Base & | base () const |
void | validate () const |
chain_config_v1 & | operator= (const Base &b) |
Public Member Functions inherited from sysio::chain::chain_config_v0 | |
void | validate () const |
const chain_config_v0 & | v0 () const |
Public Attributes | |
uint32_t | max_action_return_value_size = config::default_max_action_return_value_size |
size limit for action return value | |
Public Attributes inherited from sysio::chain::chain_config_v0 | |
uint64_t | max_block_net_usage |
the maxiumum net usage in instructions for a block | |
uint32_t | target_block_net_usage_pct |
the target percent (1% == 100, 100%= 10,000) of maximum net usage; exceeding this triggers congestion handling | |
uint32_t | max_transaction_net_usage |
the maximum objectively measured net usage that the chain will allow regardless of account limits | |
uint32_t | base_per_transaction_net_usage |
the base amount of net usage billed for a transaction to cover incidentals | |
uint32_t | net_usage_leeway |
uint32_t | context_free_discount_net_usage_num |
the numerator for the discount on net usage of context-free data | |
uint32_t | context_free_discount_net_usage_den |
the denominator for the discount on net usage of context-free data | |
uint32_t | max_block_cpu_usage |
the maxiumum billable cpu usage (in microseconds) for a block | |
uint32_t | target_block_cpu_usage_pct |
the target percent (1% == 100, 100%= 10,000) of maximum cpu usage; exceeding this triggers congestion handling | |
uint32_t | max_transaction_cpu_usage |
the maximum billable cpu usage (in microseconds) that the chain will allow regardless of account limits | |
uint32_t | min_transaction_cpu_usage |
the minimum billable cpu usage (in microseconds) that the chain requires | |
uint32_t | max_transaction_lifetime |
the maximum number of seconds that an input transaction's expiration can be ahead of the time of the block in which it is first included | |
uint32_t | deferred_trx_expiration_window |
the number of seconds after the time a deferred transaction can first execute until it expires | |
uint32_t | max_transaction_delay |
the maximum number of seconds that can be imposed as a delay requirement by authorization checks | |
uint32_t | max_inline_action_size |
maximum allowed size (in bytes) of an inline action | |
uint16_t | max_inline_action_depth |
recursion depth limit on sending inline actions | |
uint16_t | max_authority_depth |
recursion depth limit for checking if an authority is satisfied | |
Protected Member Functions | |
template<typename Stream > | |
Stream & | log (Stream &out) const |
Protected Member Functions inherited from sysio::chain::chain_config_v0 | |
template<typename Stream > | |
Stream & | log (Stream &out) const |
Friends | |
template<typename Stream > | |
Stream & | operator<< (Stream &out, const chain_config_v1 &c) |
bool | operator== (const chain_config_v1 &lhs, const chain_config_v1 &rhs) |
bool | operator!= (const chain_config_v1 &lhs, const chain_config_v1 &rhs) |
If Adding new parameters create chain_config_v[n] class instead of adding new parameters to v1 or v0. This is needed for snapshots backward compatibility
Definition at line 143 of file chain_config.hpp.
Definition at line 144 of file chain_config.hpp.
anonymous enum |
Enumerator | |
---|---|
max_action_return_value_size_id | |
PARAMS_COUNT |
Definition at line 149 of file chain_config.hpp.
|
inline |
Definition at line 154 of file chain_config.hpp.
|
inlineprotected |
Definition at line 182 of file chain_config.hpp.
|
inline |
Definition at line 175 of file chain_config.hpp.
void sysio::chain::chain_config_v1::validate | ( | ) | const |
Definition at line 42 of file chain_config.cpp.
|
friend |
Definition at line 171 of file chain_config.hpp.
|
friend |
Definition at line 161 of file chain_config.hpp.
|
friend |
Definition at line 165 of file chain_config.hpp.
uint32_t sysio::chain::chain_config_v1::max_action_return_value_size = config::default_max_action_return_value_size |
Definition at line 146 of file chain_config.hpp.