Expand description
defines block cost related limits
Structs§
- BUILT_
IN_ INSTRUCTION_ COSTS - Number of compute units for each built-in programs
Constants§
- COMPUTE_
UNIT_ TO_ US_ RATIO - Cluster averaged compute unit to micro-sec conversion rate
- ED25519_
VERIFY_ COST - Number of compute units for one ed25519 signature verification.
- ED25519_
VERIFY_ STRICT_ COST - Number of compute units for one ed25519 strict signature verification.
- INSTRUCTION_
DATA_ BYTES_ COST - Number of data bytes per compute units
- MAX_
BLOCK_ ACCOUNTS_ DATA_ SIZE_ DELTA - 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.
- MAX_
BLOCK_ REPLAY_ TIME_ US - Static configurations:
- MAX_
BLOCK_ UNITS - Statically computed data:
- MAX_
CONCURRENCY - number of concurrent processes,
- MAX_
VOTE_ UNITS - 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
- MAX_
WRITABLE_ ACCOUNT_ UNITS - 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.
- SECP256
K1_ VERIFY_ COST - Number of compute units for one secp256k1 signature verification.
- SIGNATURE_
COST - Number of compute units for one signature verification.
- WRITE_
LOCK_ UNITS - Number of compute units for one write lock