Module execution_budget

Module execution_budget 

Source
👎Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Structs§

SVMTransactionExecutionAndFeeBudgetLimitsDeprecated
SVMTransactionExecutionBudgetDeprecated
SVMTransactionExecutionCostDeprecated

Constants§

DEFAULT_HEAP_COSTDeprecated
Roughly 0.5us/page, where page is 32K; given roughly 15CU/us, the default heap page cost = 0.5 * 15 ~= 8CU/page
DEFAULT_INSTRUCTION_COMPUTE_UNIT_LIMITDeprecated
DEFAULT_INVOCATION_COSTDeprecated
INVOKE_UNITS_COST_SIMD_0339Deprecated
MAX_BUILTIN_ALLOCATION_COMPUTE_UNIT_LIMITDeprecated
MAX_CALL_DEPTHDeprecated
Max call depth. This is the maximum nesting of SBF to SBF call that can happen within a program.
MAX_COMPUTE_UNIT_LIMITDeprecated
MAX_HEAP_FRAME_BYTESDeprecated
MAX_INSTRUCTION_STACK_DEPTHDeprecated
Max instruction stack depth. This is the maximum nesting of instructions that can happen during a transaction.
MAX_INSTRUCTION_STACK_DEPTH_SIMD_0268Deprecated
Max instruction stack depth with SIMD-0268 enabled. Allows 8 nested CPIs.
MAX_LOADED_ACCOUNTS_DATA_SIZE_BYTESDeprecated
The total accounts data a transaction can load is limited to 64MiB to not break anyone in Mainnet-beta today. It can be set by set_loaded_accounts_data_size_limit instruction
MIN_HEAP_FRAME_BYTESDeprecated
STACK_FRAME_SIZEDeprecated
The size of one SBF stack frame.