light and testnet flags, omit noeth

This commit is contained in:
Jarrad 2016-07-03 10:55:57 +02:00 committed by GitHub
parent 8ac7e83305
commit a37e97cb03
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ func MakeNode(inputDir string) *node.Node {
// TODO remove admin rpcapi flag // TODO remove admin rpcapi flag
set := flag.NewFlagSet("test", 0) set := flag.NewFlagSet("test", 0)
set.Bool("shh", true, "whisper") set.Bool("shh", true, "whisper")
set.Bool("noeth", true, "disable eth") // set.Bool("noeth", true, "disable eth")
set.Bool("light", true, "enable light client")
set.Bool("testnet", true, "enable test network")
set.Bool("rpc", true, "enable rpc") set.Bool("rpc", true, "enable rpc")
set.String("rpcaddr", "localhost", "host for RPC") set.String("rpcaddr", "localhost", "host for RPC")
set.String("rpcport", "8545", "rpc port") set.String("rpcport", "8545", "rpc port")