Module solana_runtime::block_cost_limits
source · Expand description
defines block cost related limits
Structs
Number of compute units for each built-in programs
Constants
Cluster averaged compute unit to micro-sec conversion rate
Number of data bytes per compute units
The maximum allowed size, in bytes, that accounts data can grow, per block.
This can also be thought of as the maximum size of new allocations per block.
Static configurations:
Statically computed data:
number of concurrent processes,
Number of compute units that a block can have for vote transactions,
sets at ~75% of MAX_BLOCK_UNITS to leave room for non-vote transactions
Number of compute units that a writable account in a block is allowed. The
limit is to prevent too many transactions write to same account, therefore
reduce block’s parallelism.
Number of compute units for one signature verification.
Number of compute units for one write lock