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
max length of account data in a block (bytes)
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