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 /// When true, skip storing transaction signature keys in the status cache.
10 /// Message hash keys are still stored for duplicate transaction detection.
11 pub skip_transaction_signatures_in_status_cache: bool,
12}