Module rpc

Source
Expand description

Builder support for rpc components.

Structs§

BasicEngineApiBuilder
Builder for basic EngineApi implementation.
EthApiCtx
EthApiCtx struct This struct is used to pass the necessary context to the EthApiBuilder to build the EthApi.
RethRpcServerHandles
Contains the handles to the spawned RPC servers.
RpcAddOns
Node add-ons containing RPC server configuration, with customizable eth API handler.
RpcContext
Helper container to encapsulate RpcRegistryInner, TransportRpcModules and AuthRpcModule.
RpcHandle
Handle to the launched RPC servers.
RpcHooks
Contains hooks that are called during the rpc setup.
RpcRegistry
Helper wrapper type to encapsulate the RpcRegistryInner over components trait.

Traits§

EngineApiBuilder
Builder for engine API RPC module.
EngineValidatorAddOn
Helper trait that provides the validator for the engine API
EngineValidatorBuilder
A type that knows how to build the engine validator.
EthApiBuilder
A EthApi that knows how to build eth namespace API from FullNodeComponents.
ExtendRpcModules
Event hook that is called when the rpc server is started.
OnRpcStarted
Event hook that is called once the rpc server is started.
RethRpcAddOns
Helper trait implemented for add-ons producing RpcHandle. Used by common node launcher implementations.