pub struct TransactionProcessingConfig<'a> {
pub account_overrides: Option<&'a AccountOverrides>,
pub check_program_modification_slot: bool,
pub compute_budget: Option<ComputeBudget>,
pub log_messages_bytes_limit: Option<usize>,
pub limit_to_load_programs: bool,
pub recording_config: ExecutionRecordingConfig,
pub transaction_account_lock_limit: Option<usize>,
}
Expand description
Configurations for processing transactions.
Fields§
§account_overrides: Option<&'a AccountOverrides>
Encapsulates overridden accounts, typically used for transaction simulation.
check_program_modification_slot: bool
Whether or not to check a program’s modification slot when replenishing a program cache instance.
compute_budget: Option<ComputeBudget>
The compute budget to use for transaction execution.
log_messages_bytes_limit: Option<usize>
The maximum number of bytes that log messages can consume.
limit_to_load_programs: bool
Whether to limit the number of programs loaded for the transaction batch.
recording_config: ExecutionRecordingConfig
Recording capabilities for transaction execution.
transaction_account_lock_limit: Option<usize>
The max number of accounts that a transaction may lock.
Trait Implementations§
Source§impl<'a> Default for TransactionProcessingConfig<'a>
impl<'a> Default for TransactionProcessingConfig<'a>
Source§fn default() -> TransactionProcessingConfig<'a>
fn default() -> TransactionProcessingConfig<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for TransactionProcessingConfig<'a>
impl<'a> RefUnwindSafe for TransactionProcessingConfig<'a>
impl<'a> Send for TransactionProcessingConfig<'a>
impl<'a> Sync for TransactionProcessingConfig<'a>
impl<'a> Unpin for TransactionProcessingConfig<'a>
impl<'a> UnwindSafe for TransactionProcessingConfig<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more