2022-04-19 15:06:30 -07:00
|
|
|
use solana_program_runtime::compute_budget::ComputeBudget;
|
2022-04-11 17:28:10 -07:00
|
|
|
|
|
|
|
/// Encapsulates flags that can be used to tweak the runtime behavior.
|
2022-08-05 12:49:00 -07:00
|
|
|
#[derive(AbiExample, Debug, Default, Clone)]
|
2022-04-11 17:28:10 -07:00
|
|
|
pub struct RuntimeConfig {
|
|
|
|
pub bpf_jit: bool,
|
|
|
|
pub compute_budget: Option<ComputeBudget>,
|
2022-07-11 08:53:18 -07:00
|
|
|
pub log_messages_bytes_limit: Option<usize>,
|
2022-08-12 07:07:48 -07:00
|
|
|
pub transaction_account_lock_limit: Option<usize>,
|
2022-04-11 17:28:10 -07:00
|
|
|
}
|