diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-11-11 19:45:30 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-11-11 19:45:30 +0800 |
commit | 9422eec55460aaca300cabd52124ed0cbd8dedd3 (patch) | |
tree | ce4b5cc50166c0bd9e2d5fbc7de77be9cf36cbd7 | |
parent | da6696862eff91736ec9a694026a14f984f85f57 (diff) | |
parent | 9aa77a37690397b7450e86c411918b4c524a7065 (diff) | |
download | go-tangerine-9422eec55460aaca300cabd52124ed0cbd8dedd3.tar.gz go-tangerine-9422eec55460aaca300cabd52124ed0cbd8dedd3.tar.zst go-tangerine-9422eec55460aaca300cabd52124ed0cbd8dedd3.zip |
Merge pull request #1976 from karalabe/enable-light-kdf
cmd/geth, cmd/utils: surface the light KDF flag to the CLI
-rw-r--r-- | cmd/geth/main.go | 1 | ||||
-rw-r--r-- | cmd/geth/usage.go | 1 | ||||
-rw-r--r-- | cmd/utils/flags.go | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 0fb654eed..d63d20580 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -305,6 +305,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.OlympicFlag, utils.FastSyncFlag, utils.CacheFlag, + utils.LightKDFFlag, utils.JSpathFlag, utils.ListenPortFlag, utils.MaxPeersFlag, diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index 9223b7cd6..5c09e29ce 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -69,6 +69,7 @@ var AppHelpFlagGroups = []flagGroup{ utils.GenesisFileFlag, utils.IdentityFlag, utils.FastSyncFlag, + utils.LightKDFFlag, utils.CacheFlag, utils.BlockchainVersionFlag, }, diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index d741d0544..8335517df 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -150,11 +150,11 @@ var ( } FastSyncFlag = cli.BoolFlag{ Name: "fast", - Usage: "Enables fast syncing through state downloads", + Usage: "Enable fast syncing through state downloads", } LightKDFFlag = cli.BoolFlag{ Name: "lightkdf", - Usage: "Reduce KDF memory & CPU usage at some expense of KDF strength", + Usage: "Reduce key-derivation RAM & CPU usage at some expense of KDF strength", } // Miner settings // TODO: refactor CPU vs GPU mining flags |