pub struct TransactionProcessingConfig<'a> {
pub account_overrides: Option<&'a AccountOverrides>,
pub check_program_modification_slot: bool,
pub log_messages_bytes_limit: Option<usize>,
pub limit_to_load_programs: bool,
pub recording_config: ExecutionRecordingConfig,
}This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Expand description
Configurations for processing transactions.
Fieldsยง
ยงaccount_overrides: Option<&'a AccountOverrides>This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Encapsulates overridden accounts, typically used for transaction simulation.
check_program_modification_slot: boolThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Whether or not to check a programโs modification slot when replenishing a program cache instance.
log_messages_bytes_limit: Option<usize>This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
The maximum number of bytes that log messages can consume.
limit_to_load_programs: boolThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Whether to limit the number of programs loaded for the transaction batch.
recording_config: ExecutionRecordingConfigThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Recording capabilities for transaction execution.
Trait Implementationsยง
Sourceยงimpl<'a> Default for TransactionProcessingConfig<'a>
impl<'a> Default for TransactionProcessingConfig<'a>
Sourceยงfn default() -> TransactionProcessingConfig<'a>
fn default() -> TransactionProcessingConfig<'a>
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> UnsafeUnpin 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
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>
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>
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