struct eosio::blockchain_parameters

Class List > eosio :: blockchain_parameters

Public Attributes

Type Name
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
uint32_t net_usage_leeway
The amount of net usage leeway available whilst executing a transaction (still checks against new limits without leeway at the end of the transaction)
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
Maximum lifetime of a transacton.
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 size of inline action.
uint16_t max_inline_action_depth
Maximum depth of inline action.
uint16_t max_authority_depth
Maximum authority depth.

Friends

Type Name
friend DataStream & operator<<
friend DataStream & operator>>

Detailed Description

Tunable blockchain configuration that can be changed via consensus

Public Attributes Documentation

variable max_block_net_usage

uint64_t eosio::blockchain_parameters::max_block_net_usage;

the maxiumum net usage in instructions for a block

The maxiumum net usage in instructions for a block

variable target_block_net_usage_pct

uint32_t eosio::blockchain_parameters::target_block_net_usage_pct;

The target percent (1% == 100, 100%= 10,000) of maximum net usage; exceeding this triggers congestion handling.

The target percent (1% == 100, 100%= 10,000) of maximum net usage; exceeding this triggers congestion handling

variable max_transaction_net_usage

uint32_t eosio::blockchain_parameters::max_transaction_net_usage;

The maximum objectively measured net usage that the chain will allow regardless of account limits.

The maximum objectively measured net usage that the chain will allow regardless of account limits

variable base_per_transaction_net_usage

uint32_t eosio::blockchain_parameters::base_per_transaction_net_usage;

The base amount of net usage billed for a transaction to cover incidentals

variable net_usage_leeway

uint32_t eosio::blockchain_parameters::net_usage_leeway;

The amount of net usage leeway available whilst executing a transaction (still checks against new limits without leeway at the end of the transaction)

The amount of net usage leeway available whilst executing a transaction (still checks against new limits without leeway at the end of the transaction)

variable context_free_discount_net_usage_num

uint32_t eosio::blockchain_parameters::context_free_discount_net_usage_num;

The numerator for the discount on net usage of context-free data.

The numerator for the discount on net usage of context-free data

variable context_free_discount_net_usage_den

uint32_t eosio::blockchain_parameters::context_free_discount_net_usage_den;

The denominator for the discount on net usage of context-free data.

The denominator for the discount on net usage of context-free data

variable max_block_cpu_usage

uint32_t eosio::blockchain_parameters::max_block_cpu_usage;

The maxiumum billable cpu usage (in microseconds) for a block.

The maxiumum billable cpu usage (in microseconds) for a block

variable target_block_cpu_usage_pct

uint32_t eosio::blockchain_parameters::target_block_cpu_usage_pct;

The target percent (1% == 100, 100%= 10,000) of maximum cpu usage; exceeding this triggers congestion handling.

The target percent (1% == 100, 100%= 10,000) of maximum cpu usage; exceeding this triggers congestion handling

variable max_transaction_cpu_usage

uint32_t eosio::blockchain_parameters::max_transaction_cpu_usage;

The maximum billable cpu usage (in microseconds) that the chain will allow regardless of account limits.

The maximum billable cpu usage (in microseconds) that the chain will allow regardless of account limits

variable min_transaction_cpu_usage

uint32_t eosio::blockchain_parameters::min_transaction_cpu_usage;

The minimum billable cpu usage (in microseconds) that the chain requires.

The minimum billable cpu usage (in microseconds) that the chain requires

variable max_transaction_lifetime

uint32_t eosio::blockchain_parameters::max_transaction_lifetime;

Maximum lifetime of a transacton.

Maximum lifetime of a transacton

variable deferred_trx_expiration_window

uint32_t eosio::blockchain_parameters::deferred_trx_expiration_window;

the number of seconds after the time a deferred transaction can first execute until it expires

The number of seconds after the time a deferred transaction can first execute until it expires

variable max_transaction_delay

uint32_t eosio::blockchain_parameters::max_transaction_delay;

The maximum number of seconds that can be imposed as a delay requirement by authorization checks.

The maximum number of seconds that can be imposed as a delay requirement by authorization checks

variable max_inline_action_size

uint32_t eosio::blockchain_parameters::max_inline_action_size;

Maximum size of inline action.

Maximum size of inline action

variable max_inline_action_depth

uint16_t eosio::blockchain_parameters::max_inline_action_depth;

Maximum depth of inline action.

Maximum depth of inline action

variable max_authority_depth

uint16_t eosio::blockchain_parameters::max_authority_depth;

Maximum authority depth.

Maximum authority depth

Friends Documentation

friend operator<<

template<typename DataStream>
DataStream& operator<<(
    DataStream & ds,
    const blockchain_parameters & t
)

friend operator>>

template<typename DataStream>
DataStream& operator>>(
    DataStream & ds,
    blockchain_parameters & t
)

The documentation for this class was generated from the following file: libraries/eosiolib/privileged.hpp