solana_cost_model::block_cost_limits

Constant MAX_BLOCK_UNITS

source
pub const MAX_BLOCK_UNITS: u64 = _; // 48_000_000u64
Expand description

Statically computed data:

Number of compute units that a block is allowed. A block’s compute units are accumulated by Transactions added to it; A transaction’s compute units are calculated by cost_model, based on transaction’s signatures, write locks, data size and built-in and SBF instructions.