Crate sc_cli[][src]

Expand description

Substrate CLI library.

Re-exports

pub use arg_enums::*;
pub use structopt;

Modules

subcommand utilities

Macros

Allows for calling $method with appropriate crypto impl.

Structs

Wrapper type that is either a Hash or the number of a Block.

The build-spec command used to build a specification.

The check-block command used to validate blocks.

Optional flag for specifying crypto algorithm

Parameters for block import.

Execution strategies parameters.

The export-blocks command used to export blocks.

The export-state command used to export the state of a given block into a chain spec.

The generate command

The generate-node-key command

Wrapper type of String that holds an unsigned integer of arbitrary size, formatted as a decimal.

The import-blocks command used to import blocks.

Parameters for block import.

The insert command

The inspect command

The inspect-node-key command

Parameters of the keystore

A builder that is used to initialize the global logger.

Parameters used to create the network configuration.

Optional flag for specifying network scheme

Parameters used to create the NodeKeyConfig, which determines the keypair used for libp2p networking.

Offchain worker related parameters.

Optional flag for specifying output type

Parameters to define the pruning mode

The purge-chain command used to remove the whole chain.

The revert command used revert the chain to a previous state.

The run command used to run a node.

A Substrate CLI runtime that can be used to run a node or a command

Runtime version. This should not be thought of as classic Semver (major/minor/tiny). This triplet have different semantics and mis-interpretation could cause problems. In particular: bug fixes should result in an increment of spec_version and possibly authoring_version, absolutely not impl_version since they change the semantics of the runtime.

Shared parameters used by all CoreParams.

The sign command

Parameters used to create the pool configuration.

The vanity command

The verify command

Enums

Error type for the CLI.

Key utilities for the cli.

Role of the local node.

Traits

Common interface of a chain specification.

A trait that allows converting an object to a Configuration

Default configuration values used by Substrate

Substrate client CLI

Functions

Build a tokio runtime with all features

Generate a valid random name for the node

Log information about the node itself.

Parse a sercret string, returning a displayable error.

Type Definitions

Result type alias for the CLI.