aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/flags.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-09 07:06:24 +0800
committerobscuren <geffobscura@gmail.com>2015-02-09 07:06:24 +0800
commitb22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e (patch)
treeae9f28a4c89ba70b4ee2091aa1b6a564f7a05f48 /cmd/mist/flags.go
parentac695387075fdd9214ef8de71ac6897136a50ce8 (diff)
parent16a04e64f23b7a81018c7fcf7626ca6965d9a809 (diff)
downloaddexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar
dexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.gz
dexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.bz2
dexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.lz
dexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.xz
dexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.tar.zst
dexon-b22f0f2ef51bdb769259b3cf7d9ee0e8e5b0635e.zip
merged
Diffstat (limited to 'cmd/mist/flags.go')
-rw-r--r--cmd/mist/flags.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go
index 9dc3ae10a..f042b39b0 100644
--- a/cmd/mist/flags.go
+++ b/cmd/mist/flags.go
@@ -51,7 +51,7 @@ var (
AddPeer string
MaxPeer int
GenAddr bool
- UseSeed bool
+ SeedNode string
SecretFile string
ExportDir string
NonInteractive bool
@@ -111,12 +111,12 @@ func Init() {
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
flag.BoolVar(&UseUPnP, "upnp", true, "enable UPnP support")
flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
- flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
+ flag.IntVar(&RpcPort, "rpcport", 8545, "port to start json-rpc server on")
flag.IntVar(&WsPort, "wsport", 40404, "port to start websocket rpc server on")
flag.BoolVar(&StartRpc, "rpc", true, "start rpc server")
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")
flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)")
- flag.BoolVar(&UseSeed, "seed", true, "seed peers")
+ flag.StringVar(&SeedNode, "seednode", "poc-8.ethdev.com:30303", "ip:port of seed node to connect to. Set to blank for skip")
flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key")
flag.StringVar(&NatType, "nat", "", "NAT support (UPNP|PMP) (none)")
flag.StringVar(&SecretFile, "import", "", "imports the file given (hex or mnemonic formats)")