Expand description
Builder support for rpc components.
Structs§
- Auth
Server Only Handle - Handle returned when only the authenticated Engine API server is launched.
- Basic
Engine ApiBuilder - Builder for basic [
EngineApi
] implementation. - Basic
Engine Validator - A helper type that provides reusable payload validation logic for network-specific validators.
- Basic
Engine Validator Builder - Basic implementation of
EngineValidatorBuilder
. - EthApi
Ctx EthApiCtx
struct This struct is used to pass the necessary context to theEthApiBuilder
to build theEthApi
.- Identity
- A no-op middleware.
- Noop
Engine Api - Represents an empty Engine API [
RpcModule
]. - Noop
Engine ApiBuilder - A noop Builder that satisfies the
EngineApiBuilder
trait without actually configuring an engine API module - Reth
RpcServer Handles - Contains the handles to the spawned RPC servers.
- RpcAdd
Ons - Node add-ons containing RPC server configuration, with customizable eth API handler.
- RpcContext
- Helper container to encapsulate
RpcRegistryInner
,TransportRpcModules
andAuthRpcModule
. - RpcHandle
- Handle to the launched RPC servers.
- RpcHooks
- Contains hooks that are called during the rpc setup.
- RpcModule
Container - Helper container for the parameters commonly passed to RPC module extension functions.
- RpcRegistry
- Helper wrapper type to encapsulate the
RpcRegistryInner
over components trait. - RpcServer
Only Handle - Handle returned when only the regular RPC server (HTTP/WS/IPC) is launched.
- RpcService
- JSON-RPC service middleware.
- RpcService
Builder - Similar to [
tower::ServiceBuilder
] but doesn’t support any tower middleware implementations. - Stack
- Two middlewares chained together.
Traits§
- Engine
ApiBuilder - Builder for engine API RPC module.
- Engine
Validator - Type that validates the payloads processed by the engine.
- Engine
Validator AddOn - Helper trait that provides the validator builder for the engine API
- Engine
Validator Builder - Builder trait for creating engine validators for the consensus engine.
- EthApi
Builder - A
EthApi
that knows how to buildeth
namespace API fromFullNodeComponents
. - Extend
RpcModules - Event hook that is called when the rpc server is started.
- OnRpc
Started - Event hook that is called once the rpc server is started.
- Payload
Validator Builder - Builder trait for creating payload validators specifically for the Engine API.
- Reth
RpcAdd Ons - Helper trait implemented for add-ons producing
RpcHandle
. Used by common node launcher implementations. - Reth
RpcMiddleware - A Helper alias trait for the RPC middleware supported by the server.