|
|
@ -96,7 +96,7 @@ func Init() { |
|
|
|
flag.StringVar(&NatType, "nat", "", "NAT support (UPNP|PMP) (none)") |
|
|
|
flag.StringVar(&NatType, "nat", "", "NAT support (UPNP|PMP) (none)") |
|
|
|
flag.StringVar(&PMPGateway, "pmp", "", "Gateway IP for PMP") |
|
|
|
flag.StringVar(&PMPGateway, "pmp", "", "Gateway IP for PMP") |
|
|
|
flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers") |
|
|
|
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.IntVar(&WsPort, "wsport", 40404, "port to start websocket rpc server on") |
|
|
|
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server") |
|
|
|
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server") |
|
|
|
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server") |
|
|
|
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server") |
|
|
|