Module components

Source
Expand description

Support for configuring the components of a node. Support for configuring the components of a node.

Customizable components of the node include:

  • The transaction pool.
  • The network implementation.
  • The payload builder service.

Components depend on a fully type configured node: FullNodeTypes.

Structs§

BasicPayloadServiceBuilder
Basic payload service builder that spawns a [BasicPayloadJobGenerator]
Components
All the components of the node.
ComponentsBuilder
A generic, general purpose and customizable NodeComponentsBuilder implementation.
PoolBuilderConfigOverrides
Convenience type to override cli or default pool configuration during build.

Traits§

ConsensusBuilder
A type that knows how to build the consensus implementation.
ExecutorBuilder
A type that knows how to build the executor types.
NetworkBuilder
A type that knows how to build the network implementation.
NodeComponents
An abstraction over the components of a node, consisting of:
NodeComponentsBuilder
A type that configures all the customizable components of the node and knows how to build them.
PayloadBuilderBuilder
A type that knows how to build a payload builder to plug into BasicPayloadServiceBuilder.
PayloadServiceBuilder
A type that knows how to spawn the payload service.
PoolBuilder
A type that knows how to build the transaction pool.