mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
More readable help for --sync option (#9441)
This commit is contained in:
@@ -128,10 +128,13 @@ pub struct NetworkParams {
|
||||
pub ipfs_server: bool,
|
||||
|
||||
/// Blockchain syncing mode.
|
||||
/// Full - Download and validate full blockchain history (Default).
|
||||
/// Fast - Download blocks and the latest state only.
|
||||
/// FastUnsafe - Same as Fast, but do skips downloading state proofs.
|
||||
#[structopt(long, default_value = "Full")]
|
||||
///
|
||||
/// - `Full`: Download and validate full blockchain history.
|
||||
///
|
||||
/// - `Fast`: Download blocks and the latest state only.
|
||||
///
|
||||
/// - `FastUnsafe`: Same as `Fast`, but skip downloading state proofs.
|
||||
#[structopt(long, value_name = "SYNC_MODE", default_value = "Full")]
|
||||
pub sync: SyncMode,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user