Crate solders_compute_budget

Source

Functions§

create_compute_budget_mod
request_heap_frame
Request a specific transaction-wide program heap region size in bytes. The value requested must be a multiple of 1024. This new heap region size applies to each program executed in the transaction, including all calls to CPIs.
set_compute_unit_limit
Set a specific compute unit limit that the transaction is allowed to consume.
set_compute_unit_price
Set a compute unit price in “micro-lamports” to pay a higher transaction fee for higher transaction prioritization.