aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard_network.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-11-24 16:56:33 +0800
committerGitHub <noreply@github.com>2017-11-24 16:56:33 +0800
commitf9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e (patch)
treefa8b344aedb3d56c2cd904173053a5273ec87a67 /cmd/puppeth/wizard_network.go
parent35801f938e21430f8fb0f2e1c3de5db7dbd21666 (diff)
parenta3a2c6b0d9f963c9377612cae1ed6ded6f216c2d (diff)
downloadgo-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.tar
go-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.tar.gz
go-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.tar.bz2
go-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.tar.lz
go-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.tar.xz
go-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.tar.zst
go-tangerine-f9569f3cd8a05dff5be5da83a5d8c70c1b23dd3e.zip
Merge pull request #15390 from karalabe/puppeth-devcon3
cmd/puppeth: new version as presented at devcon3
Diffstat (limited to 'cmd/puppeth/wizard_network.go')
-rw-r--r--cmd/puppeth/wizard_network.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/cmd/puppeth/wizard_network.go b/cmd/puppeth/wizard_network.go
index c20e31fab..d780c550b 100644
--- a/cmd/puppeth/wizard_network.go
+++ b/cmd/puppeth/wizard_network.go
@@ -53,12 +53,12 @@ func (w *wizard) manageServers() {
w.conf.flush()
log.Info("Disconnected existing server", "server", server)
- w.networkStats(false)
+ w.networkStats()
return
}
// If the user requested connecting a new server, do it
if w.makeServer() != "" {
- w.networkStats(false)
+ w.networkStats()
}
}
@@ -174,9 +174,10 @@ func (w *wizard) deployComponent() {
fmt.Println(" 1. Ethstats - Network monitoring tool")
fmt.Println(" 2. Bootnode - Entry point of the network")
fmt.Println(" 3. Sealer - Full node minting new blocks")
- fmt.Println(" 4. Wallet - Browser wallet for quick sends (todo)")
- fmt.Println(" 5. Faucet - Crypto faucet to give away funds")
- fmt.Println(" 6. Dashboard - Website listing above web-services")
+ fmt.Println(" 4. Explorer - Chain analysis webservice (ethash only)")
+ fmt.Println(" 5. Wallet - Browser wallet for quick sends")
+ fmt.Println(" 6. Faucet - Crypto faucet to give away funds")
+ fmt.Println(" 7. Dashboard - Website listing above web-services")
switch w.read() {
case "1":
@@ -186,9 +187,12 @@ func (w *wizard) deployComponent() {
case "3":
w.deployNode(false)
case "4":
+ w.deployExplorer()
case "5":
- w.deployFaucet()
+ w.deployWallet()
case "6":
+ w.deployFaucet()
+ case "7":
w.deployDashboard()
default:
log.Error("That's not something I can do")