5namespace sysio {
namespace chain {
9 "target block net usage percentage cannot exceed 100%" );
11 "target block net usage percentage must be at least 0.1%" );
13 "target block cpu usage percentage cannot exceed 100%" );
15 "target block cpu usage percentage must be at least 0.1%" );
18 "max transaction net usage must be less than max block net usage" );
20 "max transaction cpu usage must be less than max block cpu usage" );
23 "base net usage per transaction must be less than the max transaction net usage" );
26 "max transaction net usage must be at least ${delta} bytes larger than base net usage per transaction",
27 (
"delta", config::min_net_usage_delta_between_base_and_max_for_trx) );
29 "net usage discount ratio for context free data cannot have a 0 denominator" );
31 "net usage discount ratio for context free data cannot exceed 1" );
34 "min transaction cpu usage cannot exceed max transaction cpu usage" );
36 "max transaction cpu usage must be at less than the difference between the max block cpu usage and the min transaction cpu usage" );
39 "max authority depth should be at least 1" );
45 "max action return value size should be less than MAX_SIZE_OF_BYTE_ARRAYS" );
55 wlog(
"action_return_value protocol feature is not active, max_action_return_value_size config is not allowed");
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
bool is_builtin_activated(builtin_protocol_feature_t f) const
key Invalid authority Invalid transaction Invalid block ID Invalid packed transaction Invalid chain ID Invalid symbol Signature type is not a currently activated type Block can not be found Unlinkable block Block does not guarantee concurrent execution without conflicts Block exhausted allowed resources Block is from the future Block is not signed by expected producer Block includes an ill formed protocol feature activation extension Block includes an ill formed additional block signature extension Error decompressing transaction Transaction should have at least one required authority Expired Transaction Invalid Reference Block Duplicate deferred transaction The transaction can not be found Transaction is too big Invalid transaction extension Transaction includes disallowed Transaction exceeded transient resource limit action_validate_exception
uint32_t target_block_net_usage_pct
the target percent (1% == 100, 100%= 10,000) of maximum net usage; exceeding this triggers congestion...
uint32_t context_free_discount_net_usage_num
the numerator for the discount on net usage of context-free data
uint32_t max_transaction_cpu_usage
the maximum billable cpu usage (in microseconds) that the chain will allow regardless of account limi...
uint32_t max_block_cpu_usage
the maxiumum billable cpu usage (in microseconds) for a block
uint32_t min_transaction_cpu_usage
the minimum billable cpu usage (in microseconds) that the chain requires
uint64_t max_block_net_usage
the maxiumum net usage in instructions for a block
uint32_t context_free_discount_net_usage_den
the denominator for the discount on net usage of context-free data
uint32_t max_transaction_net_usage
the maximum objectively measured net usage that the chain will allow regardless of account limits
uint16_t max_authority_depth
recursion depth limit for checking if an authority is satisfied
uint32_t base_per_transaction_net_usage
the base amount of net usage billed for a transaction to cover incidentals
uint32_t target_block_cpu_usage_pct
the target percent (1% == 100, 100%= 10,000) of maximum cpu usage; exceeding this triggers congestion...
uint32_t max_action_return_value_size
size limit for action return value
@ max_action_return_value_size_id
bool operator()(uint32_t id) const
const controller & control
#define MAX_SIZE_OF_BYTE_ARRAYS