reth::builder

Type Alias EthApiBuilderCtx

Source
pub type EthApiBuilderCtx<N> = EthApiBuilderCtx<<N as RpcNodeCore>::Provider, <N as RpcNodeCore>::Pool, <N as RpcNodeCore>::Evm, <N as RpcNodeCore>::Network, TaskExecutor, <N as RpcNodeCore>::Provider>;
Expand description

Aliased Type§

struct EthApiBuilderCtx<N> {
    pub provider: <N as RpcNodeCore>::Provider,
    pub pool: <N as RpcNodeCore>::Pool,
    pub network: <N as RpcNodeCore>::Network,
    pub evm_config: <N as RpcNodeCore>::Evm,
    pub config: EthConfig,
    pub executor: TaskExecutor,
    pub events: <N as RpcNodeCore>::Provider,
    pub cache: EthStateCache<<<N as RpcNodeCore>::Provider as BlockReader>::Block, <<N as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>,
}

Fields§

§provider: <N as RpcNodeCore>::Provider

Database handle.

§pool: <N as RpcNodeCore>::Pool

Mempool handle.

§network: <N as RpcNodeCore>::Network

Network handle.

§evm_config: <N as RpcNodeCore>::Evm

EVM configuration.

§config: EthConfig

RPC config for eth namespace.

§executor: TaskExecutor

Runtime handle.

§events: <N as RpcNodeCore>::Provider

Events handle.

§cache: EthStateCache<<<N as RpcNodeCore>::Provider as BlockReader>::Block, <<N as RpcNodeCore>::Provider as ReceiptProvider>::Receipt>

RPC cache handle.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.