Expand description
defines block cost related limits
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_
BLOCK_ UNITS_ SIMD_ 0207 - 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
Functions§
- simd_
0207_ block_ limits - Return the block limits that will be used upon activation of SIMD-0207. Returns as (account_limit, block_limit, vote_limit)