[−][src]Crate sc_cli
Substrate CLI library.
Re-exports
pub use structopt; |
Macros
substrate_cli_subcommands | Macro that helps implement CliConfiguration on an enum of subcommand automatically |
Structs
BlockNumber | Wrapper type of |
BlockNumberOrHash | Wrapper type that is either a |
BuildSpecCmd | The |
CheckBlockCmd | The |
DatabaseParams | Parameters for block import. |
ExecutionStrategiesParams | Execution strategies parameters. |
ExportBlocksCmd | The |
ExportStateCmd | The |
ImportBlocksCmd | The |
ImportParams | Parameters for block import. |
KeystoreParams | Parameters of the keystore |
NetworkParams | Parameters used to create the network configuration. |
NodeKeyParams | Parameters used to create the |
OffchainWorkerParams | Offchain worker related parameters. |
PruningParams | Parameters to define the pruning mode |
PurgeChainCmd | The |
RevertCmd | The |
RunCmd | The |
Runner | A Substrate CLI runtime that can be used to run a node or a command |
SharedParams | Shared parameters used by all |
TransactionPoolParams | Parameters used to create the pool configuration. |
Enums
Database | Database backend |
Error | Error type for the CLI. |
ExecutionStrategy | How to execute blocks |
NodeKeyType | |
OffchainWorkerEnabled | Whether off-chain workers are enabled. |
RpcMethods | Available RPC methods. |
Subcommand | All core commands that are provided by default. |
TracingReceiver | |
WasmExecutionMethod | How to execute Wasm runtime code |
Constants
DEFAULT_EXECUTION_BLOCK_CONSTRUCTION | Default value for the |
DEFAULT_EXECUTION_IMPORT_BLOCK | Default value for the |
DEFAULT_EXECUTION_OFFCHAIN_WORKER | Default value for the |
DEFAULT_EXECUTION_OTHER | Default value for the |
DEFAULT_EXECUTION_SYNCING | Default value for the |
Traits
CliConfiguration | A trait that allows converting an object to a Configuration |
SubstrateCli | Substrate client CLI |
Functions
build_runtime | Build a tokio runtime with all features |
generate_node_name | Generate a valid random name for the node |
init_logger | Initialize the logger |
Type Definitions
Result | Result type alias for the CLI. |