Crate moonbeam_service
source ·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 maintence 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§
- A collection of node-specific RPC extensions and related background tasks.
Structs§
Enums§
- Block Import Pipeline used.
- A client instance of Moonbeam.
- Trivial enum representing runtime variant
Constants§
Traits§
- Config that abstracts over all available client implementations.
- A trait that must be implemented by all moon* runtimes executors.
- A handle to a Moonbeam client instance.
- Execute something with the client instance.
- Can be called for a
Configuration
to check if it is a configuration for theMoonbeam
network. - A set of APIs that polkadot-like runtimes must implement.
Functions§
- Builds a new object suitable for chain operations.
- Builds a new development service. This service uses manual seal, and mocks the parachain inherent.
- Builds the PartialComponents for a parachain or development service
- Start a normal parachain node.
Type Aliases§
- Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Balance of an account.
- An index to a block.
- A hash of some data used by the chain.
- Block header type as expected by this runtime.
- Index of a transaction in the chain.