From e3ec77f50e7e11c7f38bc87b1981afe9df240a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 12 Jun 2019 11:24:24 +0300 Subject: cmd, graphql, node: graphql flag polishes, les integration --- node/defaults.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'node') diff --git a/node/defaults.go b/node/defaults.go index 564bb35b4..f84a5d547 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -38,13 +38,15 @@ const ( // DefaultConfig contains reasonable default settings. var DefaultConfig = Config{ - DataDir: DefaultDataDir(), - HTTPPort: DefaultHTTPPort, - HTTPModules: []string{"net", "web3"}, - HTTPVirtualHosts: []string{"localhost"}, - HTTPTimeouts: rpc.DefaultHTTPTimeouts, - WSPort: DefaultWSPort, - WSModules: []string{"net", "web3"}, + DataDir: DefaultDataDir(), + HTTPPort: DefaultHTTPPort, + HTTPModules: []string{"net", "web3"}, + HTTPVirtualHosts: []string{"localhost"}, + HTTPTimeouts: rpc.DefaultHTTPTimeouts, + WSPort: DefaultWSPort, + WSModules: []string{"net", "web3"}, + GraphQLPort: DefaultGraphQLPort, + GraphQLVirtualHosts: []string{"localhost"}, P2P: p2p.Config{ ListenAddr: ":30303", MaxPeers: 50, -- cgit v1.2.3