aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/main.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 23:44:22 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 23:44:22 +0800
commit221fae411278825dcaa0ec4058f065752046869b (patch)
tree214e07fd19840facee4f13053f5e45ad92c5c14c /cmd/ethereum/main.go
parent2407f006adbcbe5f5405b8591c5e9845cfa7dd5c (diff)
downloaddexon-221fae411278825dcaa0ec4058f065752046869b.tar
dexon-221fae411278825dcaa0ec4058f065752046869b.tar.gz
dexon-221fae411278825dcaa0ec4058f065752046869b.tar.bz2
dexon-221fae411278825dcaa0ec4058f065752046869b.tar.lz
dexon-221fae411278825dcaa0ec4058f065752046869b.tar.xz
dexon-221fae411278825dcaa0ec4058f065752046869b.tar.zst
dexon-221fae411278825dcaa0ec4058f065752046869b.zip
cmd/ethereum: show some help before prompting for encryption passphrase
Diffstat (limited to 'cmd/ethereum/main.go')
-rw-r--r--cmd/ethereum/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index 8beba471a..ed17fcc1f 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -186,6 +186,7 @@ Please run 'ethereum account new' to create a new account.`)
func startEth(ctx *cli.Context, eth *eth.Ethereum) {
utils.StartEthereum(eth)
+ // Start auxiliary services if enabled.
if ctx.GlobalBool(utils.RPCEnabledFlag.Name) {
utils.StartRPC(eth, ctx)
}
@@ -207,6 +208,8 @@ func accountList(ctx *cli.Context) {
func accountCreate(ctx *cli.Context) {
am := utils.GetAccountManager(ctx)
+ fmt.Println("The new account will be encrypted with a passphrase.")
+ fmt.Println("Please enter a passphrase now.")
auth, err := readPassword("Passphrase: ", true)
if err != nil {
utils.Fatalf("%v", err)