diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-07 17:18:34 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-07 17:18:34 +0800 |
commit | 4ed94d3d512da28407118723e05e29f4058497e0 (patch) | |
tree | d9931e2555679a8e5c05b42b879fa43aa1dd6050 /mist/flags.go | |
parent | e100aa3c6c6a9e4da858812b7ed8392ec2e3954a (diff) | |
download | dexon-4ed94d3d512da28407118723e05e29f4058497e0.tar dexon-4ed94d3d512da28407118723e05e29f4058497e0.tar.gz dexon-4ed94d3d512da28407118723e05e29f4058497e0.tar.bz2 dexon-4ed94d3d512da28407118723e05e29f4058497e0.tar.lz dexon-4ed94d3d512da28407118723e05e29f4058497e0.tar.xz dexon-4ed94d3d512da28407118723e05e29f4058497e0.tar.zst dexon-4ed94d3d512da28407118723e05e29f4058497e0.zip |
removed old windows & added websockets to mist
Diffstat (limited to 'mist/flags.go')
-rw-r--r-- | mist/flags.go | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/mist/flags.go b/mist/flags.go index d2e7d3fb0..a56d689c0 100644 --- a/mist/flags.go +++ b/mist/flags.go @@ -13,26 +13,29 @@ import ( "github.com/ethereum/eth-go/ethlog" ) -var Identifier string -var KeyRing string -var KeyStore string -var StartRpc bool -var RpcPort int -var UseUPnP bool -var OutboundPort string -var ShowGenesis bool -var AddPeer string -var MaxPeer int -var GenAddr bool -var UseSeed bool -var SecretFile string -var ExportDir string -var NonInteractive bool -var Datadir string -var LogFile string -var ConfigFile string -var DebugFile string -var LogLevel int +var ( + Identifier string + KeyRing string + KeyStore string + StartRpc bool + StartWebSockets bool + RpcPort int + UseUPnP bool + OutboundPort string + ShowGenesis bool + AddPeer string + MaxPeer int + GenAddr bool + UseSeed bool + SecretFile string + ExportDir string + NonInteractive bool + Datadir string + LogFile string + ConfigFile string + DebugFile string + LogLevel int +) // flags specific to gui client var AssetPath string @@ -83,6 +86,7 @@ func Init() { flag.IntVar(&MaxPeer, "maxpeer", 10, "maximum desired peers") flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on") 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.BoolVar(&UseSeed, "seed", true, "seed peers") flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key") |