mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 12:25:51 +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,
|
pub ipfs_server: bool,
|
||||||
|
|
||||||
/// Blockchain syncing mode.
|
/// Blockchain syncing mode.
|
||||||
/// Full - Download and validate full blockchain history (Default).
|
///
|
||||||
/// Fast - Download blocks and the latest state only.
|
/// - `Full`: Download and validate full blockchain history.
|
||||||
/// FastUnsafe - Same as Fast, but do skips downloading state proofs.
|
///
|
||||||
#[structopt(long, default_value = "Full")]
|
/// - `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,
|
pub sync: SyncMode,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user