Struct phronesis::evm_tracing_types::EthApiOptions
source · pub struct EthApiOptions {Show 14 fields
pub ethapi: Vec<EthApi>,
pub ethapi_max_permits: u32,
pub ethapi_trace_max_count: u32,
pub ethapi_trace_cache_duration: u64,
pub frontier_backend_type: FrontierBackendType,
pub eth_log_block_cache: usize,
pub eth_statuses_cache: usize,
pub tracing_raw_max_memory_usage: usize,
pub max_past_logs: u32,
pub fee_history_limit: u64,
pub frontier_sql_backend_pool_size: u32,
pub frontier_sql_backend_num_ops_timeout: u32,
pub frontier_sql_backend_thread_count: u32,
pub frontier_sql_backend_cache_size: u64,
}
Fields§
§ethapi: Vec<EthApi>
Enable EVM tracing module on a non-authority node.
ethapi_max_permits: u32
Number of concurrent tracing tasks. Meant to be shared by both “debug” and “trace” modules.
ethapi_trace_max_count: u32
The Maximum number of trace entries a single request of trace_filter
is allowed to return.
A request asking for more or an unbounded one going over this limit will both return an
error.
ethapi_trace_cache_duration: u64
Duration (in seconds) after which the cache of trace_filter
for a given block will be
discarded.
frontier_backend_type: FrontierBackendType
Sets the frontierBackend type, either KeyValue of SQL
eth_log_block_cache: usize
Size in bytes of the LRU cache for block data.
eth_statuses_cache: usize
Size in bytes of the LRU cache for transaction statuses data.
tracing_raw_max_memory_usage: usize
Size in bytes of data a raw tracing request is allowed to use. Bound the size of memory, stack and storage data.
max_past_logs: u32
Maximum number of logs in a query.
fee_history_limit: u64
Maximum fee history cache size.
frontier_sql_backend_pool_size: u32
§frontier_sql_backend_num_ops_timeout: u32
Sets the SQL backend’s query timeout in number of VM ops.
frontier_sql_backend_thread_count: u32
Sets the SQL backend’s auxiliary thread limit.
frontier_sql_backend_cache_size: u64
Sets the SQL backend’s query timeout in number of VM ops. Default value is 200MB.
Implementations§
source§impl EthApiOptions
impl EthApiOptions
pub fn build_evm_tracing_config(&self) -> EvmTracingConfig
Trait Implementations§
source§impl Args for EthApiOptions
impl Args for EthApiOptions
source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentssource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
source§impl CommandFactory for EthApiOptions
impl CommandFactory for EthApiOptions
source§impl Debug for EthApiOptions
impl Debug for EthApiOptions
source§impl FromArgMatches for EthApiOptions
impl FromArgMatches for EthApiOptions
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
ArgMatches
to self
.source§impl Parser for EthApiOptions
impl Parser for EthApiOptions
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Auto Trait Implementations§
impl RefUnwindSafe for EthApiOptions
impl Send for EthApiOptions
impl Sync for EthApiOptions
impl Unpin for EthApiOptions
impl UnwindSafe for EthApiOptions
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
T
. Read more§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.