Crate solders_compute_budget
source ·Functions§
- 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 a specific compute unit limit that the transaction is allowed to consume.
- Set a compute unit price in “micro-lamports” to pay a higher transaction fee for higher transaction prioritization.