aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/ethereum/flags.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-02-07 07:38:36 +0800
committerFelix Lange <fjl@twurst.com>2015-02-07 07:52:49 +0800
commit028775a0863946c1e9ad51fe7b22faa5c59b2605 (patch)
treebc3962f1ad12e421cd8f67291af7a571d364b1c4 /cmd/ethereum/flags.go
parent2cf4fed11b01bb99e08b838f7df2b9396f42f758 (diff)
downloaddexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar
dexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.gz
dexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.bz2
dexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.lz
dexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.xz
dexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.zst
dexon-028775a0863946c1e9ad51fe7b22faa5c59b2605.zip
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r--cmd/ethereum/flags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index af57c6a67..87fdd2838 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -49,7 +49,7 @@ var (
AddPeer string
MaxPeer int
GenAddr bool
- SeedNode string
+ BootNodes string
SecretFile string
ExportDir string
NonInteractive bool
@@ -101,7 +101,7 @@ func Init() {
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server")
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")
flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)")
- flag.StringVar(&SeedNode, "seednode", "poc-8.ethdev.com:30303", "ip:port of seed node to connect to. Set to blank for skip")
+ flag.StringVar(&BootNodes, "bootnodes", "", "space-separated node URLs for discovery bootstrap")
flag.BoolVar(&SHH, "shh", true, "whisper protocol (on)")
flag.BoolVar(&Dial, "dial", true, "dial out connections (on)")
flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key")