Skip to content

Commit 9422eec

Browse files
committed
Merge pull request #1976 from karalabe/enable-light-kdf
cmd/geth, cmd/utils: surface the light KDF flag to the CLI
2 parents da66968 + 9aa77a3 commit 9422eec

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cmd/geth/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
305305
utils.OlympicFlag,
306306
utils.FastSyncFlag,
307307
utils.CacheFlag,
308+
utils.LightKDFFlag,
308309
utils.JSpathFlag,
309310
utils.ListenPortFlag,
310311
utils.MaxPeersFlag,

cmd/geth/usage.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ var AppHelpFlagGroups = []flagGroup{
6969
utils.GenesisFileFlag,
7070
utils.IdentityFlag,
7171
utils.FastSyncFlag,
72+
utils.LightKDFFlag,
7273
utils.CacheFlag,
7374
utils.BlockchainVersionFlag,
7475
},

cmd/utils/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ var (
150150
}
151151
FastSyncFlag = cli.BoolFlag{
152152
Name: "fast",
153-
Usage: "Enables fast syncing through state downloads",
153+
Usage: "Enable fast syncing through state downloads",
154154
}
155155
LightKDFFlag = cli.BoolFlag{
156156
Name: "lightkdf",
157-
Usage: "Reduce KDF memory & CPU usage at some expense of KDF strength",
157+
Usage: "Reduce key-derivation RAM & CPU usage at some expense of KDF strength",
158158
}
159159
// Miner settings
160160
// TODO: refactor CPU vs GPU mining flags

0 commit comments

Comments
 (0)