Crate polkadot_cli
source ·Expand description
Polkadot CLI library.
Re-exports§
pub use polkadot_service as service;
Structs§
Enums§
- Error type for the CLI.
Constants§
- The current node version, which takes the basic SemVer form
<major>.<minor>.<patch>
. In general, minor should be bumped on every release while major or patch releases are relatively rare.
Traits§
- The
Core
runtime api that every Substrate runtime needs to implement. - Can be called for a
Configuration
to identify which network the configuration targets. - Something that provides a runtime api.
Functions§
- Parses polkadot specific CLI arguments and run the service.
- Launch a node, accepting arguments just like a regular node, accepts an alternative overseer generator, to adjust behavior for integration tests as needed.
malus_finality_delay
restrict finality votes of this node to be at mostbest_block - malus_finality_delay
height. - Obtain a prepared validator
Overseer
, that is initialized with all default values.
Type Aliases§
- Block type.
- Result type alias for the CLI.
- Full client type.