Struct ckb_app_config::Setup [−][src]
Expand description
A struct including all the informations to start the ckb process.
Fields
subcommand_name: StringSubcommand name.
For example, this is set to run when ckb is executed with ckb run.
config: AppConfigThe config file for the current subcommand.
Implementations
Boots the ckb process by parsing the command line arguments and loading the config file.
migrate subcommand has one flags arg, trigger this arg with “–check”
db-repair subcommand
Executes ckb replay.
Executes ckb import.
Executes ckb export.
Executes ckb reset-data.
Resolves the root directory for ckb from the command line arguments.
Gets the network peer id by reading the network secret key.