|
|
|
@ -42,6 +42,7 @@ var ( |
|
|
|
|
KeyStore string |
|
|
|
|
StartRpc bool |
|
|
|
|
StartWebSockets bool |
|
|
|
|
RpcListenAddress string |
|
|
|
|
RpcPort int |
|
|
|
|
WsPort int |
|
|
|
|
OutboundPort string |
|
|
|
@ -79,6 +80,7 @@ func Init() { |
|
|
|
|
flag.StringVar(&Identifier, "id", "", "Custom client identifier") |
|
|
|
|
flag.StringVar(&KeyRing, "keyring", "", "identifier for keyring to use") |
|
|
|
|
flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)") |
|
|
|
|
flag.StringVar(&RpcListenAddress, "rpcaddr", "127.0.0.1", "address for json-rpc server to listen 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") |
|
|
|
|