Skip to main content

solana_runtime/
runtime_config.rs

1use solana_compute_budget::compute_budget::ComputeBudget;
2
3/// Encapsulates flags that can be used to tweak the runtime behavior.
4#[derive(Debug, Default, Clone)]
5pub struct RuntimeConfig {
6    pub compute_budget: Option<ComputeBudget>,
7    pub log_messages_bytes_limit: Option<usize>,
8    pub transaction_account_lock_limit: Option<usize>,
9}