본문으로 건너뛰기

eosio::blockchain_parameters

Module: Contracts API / Privileged

More...

#include <privileged.hpp>

Public Attributes

Name
uint64_tmax_block_net_usage
the maximum net usage in instructions for a block
uint32_ttarget_block_net_usage_pct
The target percent (1% == 100, 100%= 10,000) of maximum net usage; exceeding this triggers congestion handling.
uint32_tmax_transaction_net_usage
The maximum objectively measured net usage that the chain will allow regardless of account limits.
uint32_tbase_per_transaction_net_usage
uint32_tnet_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_tcontext_free_discount_net_usage_num
The numerator for the discount on net usage of context-free data.
uint32_tcontext_free_discount_net_usage_den
The denominator for the discount on net usage of context-free data.
uint32_tmax_block_cpu_usage
The maximum billable cpu usage (in microseconds) for a block.
uint32_ttarget_block_cpu_usage_pct
The target percent (1% == 100, 100%= 10,000) of maximum cpu usage; exceeding this triggers congestion handling.
uint32_tmax_transaction_cpu_usage
The maximum billable cpu usage (in microseconds) that the chain will allow regardless of account limits.
uint32_tmin_transaction_cpu_usage
The minimum billable cpu usage (in microseconds) that the chain requires.
uint32_tmax_transaction_lifetime
Maximum lifetime of a transacton.
uint32_tdeferred_trx_expiration_window
the number of seconds after the time a deferred transaction can first execute until it expires
uint32_tmax_transaction_delay
The maximum number of seconds that can be imposed as a delay requirement by authorization checks.
uint32_tmax_inline_action_size
Maximum size of inline action.
uint16_tmax_inline_action_depth
Maximum depth of inline action.
uint16_tmax_authority_depth
Maximum authority depth.

Detailed Description

struct eosio::blockchain_parameters;

Tunable blockchain configuration that can be changed via consensus

Public Attributes Documentation

variable max_block_net_usage

uint64_t max_block_net_usage;

the maximum net usage in instructions for a block

The maximum net usage in instructions for a block

variable target_block_net_usage_pct

uint32_t 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 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 base_per_transaction_net_usage;

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

variable net_usage_leeway

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)

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 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 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 max_block_cpu_usage;

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

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

variable target_block_cpu_usage_pct

uint32_t 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 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 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 max_transaction_lifetime;

Maximum lifetime of a transacton.

Maximum lifetime of a transacton

variable deferred_trx_expiration_window

uint32_t 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 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 max_inline_action_size;

Maximum size of inline action.

Maximum size of inline action

variable max_inline_action_depth

uint16_t max_inline_action_depth;

Maximum depth of inline action.

Maximum depth of inline action

variable max_authority_depth

uint16_t max_authority_depth;

Maximum authority depth.

Maximum authority depth


Updated on 2022-12-05 at 15:38:07 +0000