pub struct Options {
pub minimal_gas_price: U256,
pub block_gas_limit: U256,
pub block_base_fee: Option<U256>,
pub tx_gas_limit: U256,
pub no_early_reject: bool,
pub allow_non_eoa_sender: bool,
}
Expand description
Verification options.
Fields
minimal_gas_price: U256
Minimal allowed gas price (actually minimal block producer reward = effective_priority_fee).
block_gas_limit: U256
Current block gas limit.
block_base_fee: Option<U256>
Block base fee. Exists if the EIP 1559 is activated.
tx_gas_limit: U256
Maximal gas limit for a single transaction.
no_early_reject: bool
Skip checks for early rejection, to make sure that local transactions are always imported.
allow_non_eoa_sender: bool
Accept transactions from non EOAs (see EIP-3607)
Trait Implementations
impl StructuralPartialEq for Options
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more