Move genesis/snapshot archive download into Rust (#5515)

This commit is contained in:
Michael Vines
2019-08-14 19:25:22 -07:00
committed by GitHub
parent fd443d85c4
commit 9f6c9c428b
12 changed files with 169 additions and 115 deletions

View File

@ -66,7 +66,7 @@ Operate a configured testnet
- Amount to fund internal nodes in genesis block.
--external-accounts-file FILE_PATH
- A YML file with a list of account pubkeys and corresponding lamport balances in genesis block for external nodes
--no-snapshot
--no-snapshot-fetch
- If set, disables booting validators from a snapshot
--skip-ledger-verify
- If set, validators will skip verifying
@ -139,7 +139,7 @@ while [[ -n $1 ]]; do
elif [[ $1 = --lamports ]]; then
genesisOptions="$genesisOptions $1 $2"
shift 2
elif [[ $1 = --no-snapshot ]]; then
elif [[ $1 = --no-snapshot-fetch ]]; then
maybeNoSnapshot="$1"
shift 1
elif [[ $1 = --no-deploy ]]; then