pub struct BlockchainOptions {
pub max_mempool_size: usize,
pub perf_logs_enabled: bool,
pub type: BlockchainType,
pub max_blobs_per_block: Option<u32>,
pub precompute_witnesses: bool,
pub precompile_cache_enabled: bool,
pub bal_parallel_exec_enabled: bool,
pub bal_prefetch_enabled: bool,
pub bal_parallel_trie_enabled: bool,
}Expand description
Configuration options for the blockchain.
Fields§
§max_mempool_size: usizeMaximum number of transactions in the mempool.
perf_logs_enabled: boolWhether to emit performance logging.
type: BlockchainTypeBlockchain type (L1 or L2).
max_blobs_per_block: Option<u32>EIP-7872: User-configured maximum blobs per block for local building. If None, uses the protocol maximum for the current fork.
precompute_witnesses: boolIf true, computes execution witnesses upon receiving newPayload messages and stores them in local storage
precompile_cache_enabled: boolIf true (default), per-block execution caches precompile results between the
warmer thread and the executor. Set to false (via --no-precompile-cache) to
disable the cache for benchmarking purposes.
bal_parallel_exec_enabled: boolIf true (default), Amsterdam+ validation runs transactions in parallel
using the header BAL to seed per-tx databases. Set to false (via
--no-bal-parallel-exec) to fall back to sequential execution.
bal_prefetch_enabled: boolIf true (default), Amsterdam+ validation spawns a warmer thread that
prefetches accounts, storage slots, and codes listed in the header BAL.
Set to false (via --no-bal-prefetch) to skip prefetching on the BAL path.
bal_parallel_trie_enabled: boolIf true (default), Amsterdam+ validation merkleizes optimistically from
synthesize_bal_updates in parallel with execution. Set to false (via
--no-bal-parallel-trie) to fall back to streaming AccountUpdates from
the executor and merkleizing post-execution.
Trait Implementations§
Source§impl Clone for BlockchainOptions
impl Clone for BlockchainOptions
Source§fn clone(&self) -> BlockchainOptions
fn clone(&self) -> BlockchainOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BlockchainOptions
impl Debug for BlockchainOptions
Auto Trait Implementations§
impl Freeze for BlockchainOptions
impl RefUnwindSafe for BlockchainOptions
impl Send for BlockchainOptions
impl Sync for BlockchainOptions
impl Unpin for BlockchainOptions
impl UnsafeUnpin for BlockchainOptions
impl UnwindSafe for BlockchainOptions
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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 moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.