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 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§

MoonbaseCustomizations
MoonbeamCustomizations
MoonriverCustomizations

Enums§

Client
A client instance of Moonbeam.
MoonbeamBlockImport
RuntimeVariant
Trivial enum representing runtime variant

Constants§

SOFT_DEADLINE_PERCENT

Traits§

AbstractClient
Config that abstracts over all available client implementations.
ClientCustomizations
A trait that must be implemented by all moon* runtimes executors.
ClientHandle
A handle to a Moonbeam client instance.
ExecuteWithClient
Execute something with the client instance.
IdentifyVariant
Can be called for a Configuration to check if it is a configuration for the Moonbeam network.
RuntimeApiCollection
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§

AccountId
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
BlockNumber
An index to a block.
Hash
A hash of some data used by the chain.
Header
Block header type as expected by this runtime.
HostFunctions
Index
Index of a transaction in the chain.