Struct frontier_template_node::rpc::eth::EthDeps
source · pub struct EthDeps<B: BlockT, C, P, A: ChainApi, CT, CIDP> {Show 18 fields
pub client: Arc<C>,
pub pool: Arc<P>,
pub graph: Arc<Pool<A>>,
pub converter: Option<CT>,
pub is_authority: bool,
pub enable_dev_signer: bool,
pub network: Arc<NetworkService<B, B::Hash>>,
pub sync: Arc<SyncingService<B>>,
pub frontier_backend: Arc<dyn Backend<B>>,
pub overrides: Arc<OverrideHandle<B>>,
pub block_data_cache: Arc<EthBlockDataCacheTask<B>>,
pub filter_pool: Option<FilterPool>,
pub max_past_logs: u32,
pub fee_history_cache: FeeHistoryCache,
pub fee_history_cache_limit: FeeHistoryCacheLimit,
pub execute_gas_limit_multiplier: u64,
pub forced_parent_hashes: Option<BTreeMap<H256, H256>>,
pub pending_create_inherent_data_providers: CIDP,
}
Expand description
Extra dependencies for Ethereum compatibility.
Fields§
§client: Arc<C>
The client instance to use.
pool: Arc<P>
Transaction pool instance.
graph: Arc<Pool<A>>
Graph pool instance.
converter: Option<CT>
Ethereum transaction converter.
The Node authority flag
enable_dev_signer: bool
Whether to enable dev signer
network: Arc<NetworkService<B, B::Hash>>
Network service
sync: Arc<SyncingService<B>>
Chain syncing service
frontier_backend: Arc<dyn Backend<B>>
Frontier Backend.
overrides: Arc<OverrideHandle<B>>
Ethereum data access overrides.
block_data_cache: Arc<EthBlockDataCacheTask<B>>
Cache for Ethereum block data.
filter_pool: Option<FilterPool>
EthFilterApi pool.
max_past_logs: u32
Maximum number of logs in a query.
fee_history_cache: FeeHistoryCache
Fee history cache.
fee_history_cache_limit: FeeHistoryCacheLimit
Maximum fee history cache size.
execute_gas_limit_multiplier: u64
Maximum allowed gas limit will be block.gas_limit * execute_gas_limit_multiplier
when
using eth_call/eth_estimateGas.
forced_parent_hashes: Option<BTreeMap<H256, H256>>
Mandated parent hashes for a given block hash.
pending_create_inherent_data_providers: CIDP
Something that can create the inherent data providers for pending state
Auto Trait Implementations§
impl<B, C, P, A, CT, CIDP> !RefUnwindSafe for EthDeps<B, C, P, A, CT, CIDP>
impl<B, C, P, A, CT, CIDP> Send for EthDeps<B, C, P, A, CT, CIDP>
impl<B, C, P, A, CT, CIDP> Sync for EthDeps<B, C, P, A, CT, CIDP>
impl<B, C, P, A, CT, CIDP> Unpin for EthDeps<B, C, P, A, CT, CIDP>
impl<B, C, P, A, CT, CIDP> !UnwindSafe for EthDeps<B, C, P, A, CT, CIDP>
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
Mutably borrows from an owned value. Read more
§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>,
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> 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>
§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>,
Consume self to return an equivalent value of
T
. Read more§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§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
The counterpart to
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
Consume self to return an equivalent value of
T
.