Crate reth_node_builder
source ·Expand description
Standalone crate for Reth configuration and builder types.
Re-exports§
pub use node::*;
Modules§
- Helper types that can be used by launchers.
- Support for configuring the components of a node. Support for configuring the components of a node.
- Traits, validation methods, and helper types used to abstract over engine types.
- Support for installing the ExExs (execution extensions) in a node. Types for launching execution extensions (ExEx).
- Node event hooks.
- Support for configuring the higher level node types.
- Type abstraction for node primitive types.
- Builder support for rpc components.
- Helpers for setting up parts of the node.
Structs§
- Captures the necessary context for building the components of the node.
- The default launcher for a node.
- An adapter type that adds the builtin provider type to the user configured node types.
- Reusable setup for launching a node.
- Container for the node’s types and the components and other internals that can be used by addons of the node.
- Declaratively construct a node.
- A fully type configured node builder.
- A node builder that also has the configured types.
- This includes all necessary configuration to launch the node. The individual configuration options can be overwritten before launching the node.
- A Handle to the launched node.
- A NodeBuilder with it’s launch context already configured.
Enums§
- The version of Engine API message.
- Thrown when the payload or attributes are known to be invalid before processing.
- A type that represents whether or not we are validating a payload or payload attributes.
- Either an [ExecutionPayload] or a types that implements the PayloadAttributes trait.
- Thrown when validating an execution payload OR payload attributes fails due to:
Traits§
- Represents a built payload type that contains a built SealedBlock and can be converted into engine API execution payloads.
- Trait for configuring the EVM for executing full blocks.
- This represents the set of methods used to configure the EVM’s environment before block execution.
- The types that are used by the engine API.
- Encapsulates all types and components of the node.
- A helper trait that is downstream of the NodeTypes trait and adds stateful components to the node.
- Helper trait to unify all provider traits for simplicity.
- A general purpose trait that launches a new node of any kind.
- The type that configures the essential types of an ethereum like node.
- The execution payload attribute type the CL node emits via the engine API. This trait should be implemented by types that could be used to spawn a payload job.
- This can be implemented by types that describe a currently running payload job.
- Re-export the core configuration traits. A trait that provides payload builder settings.
- Re-export the core configuration traits. A trait that represents the configured network and can be used to apply additional configuration to the network.
- Re-export the core configuration traits. A trait that provides a configured RPC server.
- Re-export the core configuration traits. A trait that provides all basic config values for the transaction pool and is implemented by the TxPoolArgs type.
Functions§
- Validate the presence of the
parentBeaconBlockRoot
field according to the given timestamp. This method is meant to be used with either apayloadAttributes
field or a full payload, with theengine_forkchoiceUpdated
andengine_newPayload
methods respectively. - Validates the timestamp depending on the version called:
- Validates the presence or exclusion of fork-specific fields based on the ethereum execution payload, or payload attributes, and the message version.
Type Aliases§
- The adapter type for a reth node with the builtin provider type