Struct ckb_app_config::ResetDataArgs [−][src]
pub struct ResetDataArgs {Show 13 fields
pub force: bool,
pub all: bool,
pub database: bool,
pub network: bool,
pub network_peer_store: bool,
pub network_secret_key: bool,
pub logs: bool,
pub data_dir: PathBuf,
pub db_path: PathBuf,
pub network_dir: PathBuf,
pub network_peer_store_path: PathBuf,
pub network_secret_key_path: PathBuf,
pub logs_dir: Option<PathBuf>,
}Expand description
Parsed command line arguments for ckb reset-data.
Fields
force: boolReset without asking for user confirmation.
all: boolReset all data.
database: boolReset database.
network: boolReset all network data, including the secret key and peer store.
network_peer_store: boolReset network peer store.
network_secret_key: boolReset network secret key.
logs: boolClean logs directory.
data_dir: PathBufThe path to the CKB data directory.
db_path: PathBufThe path to the database directory.
network_dir: PathBufThe path to the network data directory.
network_peer_store_path: PathBufThe path to the network peer store directory.
network_secret_key_path: PathBufThe path to the network secret key.
logs_dir: Option<PathBuf>The path to the logs directory.