Expand description
This module assembles the Moonbeam service components, executes them, and manages communication between them. This is the backbone of the client-side node implementation.
This module can assemble: PartialComponents: For maintenance tasks without a complete node (eg import/export blocks, purge) Full Service: A complete parachain node including the pool, rpc, network, embedded relay chain Dev Service: A leaner service without the relay chain backing.
Re-exports§
pub use moonbase_runtime;pub use moonbeam_runtime;pub use moonriver_runtime;
Modules§
- chain_
spec - lazy_
loading - rpc
- A collection of node-specific RPC extensions and related background tasks.
Structs§
Enums§
- Client
- A client instance of Moonbeam.
- Moonbeam
Block Import - Runtime
Variant - Trivial enum representing runtime variant
Constants§
Traits§
- Abstract
Client - Config that abstracts over all available client implementations.
- Client
Customizations - A trait that must be implemented by all moon* runtimes executors.
- Client
Handle - A handle to a Moonbeam client instance.
- Execute
With Client - Execute something with the client instance.
- Identify
Variant - Can be called for a
Configurationto check if it is a configuration for theMoonbeamnetwork. - Runtime
ApiCollection - A set of APIs that polkadot-like runtimes must implement.
Functions§
- frontier_
database_ dir - new_
chain_ ops - Builds a new object suitable for chain operations.
- new_dev
- Builds a new development service. This service uses manual seal, and mocks the parachain inherent.
- new_
partial - Builds the PartialComponents for a parachain or development service
- open_
frontier_ backend - start_
node - Start a normal parachain node.
Type Aliases§
- Account
Id - Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Balance
- Balance of an account.
- Block
- Block
Number - An index to a block.
- Hash
- A hash of some data used by the chain.
- Header
- Block header type as expected by this runtime.
- Host
Functions - Index
- Index of a transaction in the chain.