plugeth/cmd/utils
meowsbits 4c268e65a0
cmd/utils: implement configurable developer (--dev) account options (#21301)
* geth,utils: implement configurable developer account options

Prior to this change --dev (developer) mode
generated one account with an empty password,
irrespective of existing --password and --miner.etherbase
options.

This change makes --dev mode compatible with these
existing flags.

--dev mode may now be used in conjunction with
--password and --miner.etherbase flags to configure
the developer faucet using an existing keystore or
in creating a new account.

Signed-off-by: meows <b5c6@protonmail.com>

* main: remove key/pass flags from usage developer section

These flags are included already in other sections,
and it is not desired to duplicate them.

They were originally included in this section
along with added support for these flags in the
developer mode.

Signed-off-by: meows <b5c6@protonmail.com>
2020-07-23 06:47:34 +03:00
..
cmd.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
customflags_test.go cmd/utils: fix path expansion on windows 2015-08-06 17:18:59 +02:00
customflags.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
flags_legacy.go params, cmd/utils: remove outdated discv5 bootnodes, deprecate flags (#20949) 2020-05-11 11:16:32 +03:00
flags_test.go cmd/utils: allow for multiple influxdb tags (#18520) 2019-01-29 09:14:24 +01:00
flags.go cmd/utils: implement configurable developer (--dev) account options (#21301) 2020-07-23 06:47:34 +03:00
prompt_test.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
prompt.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00