diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-06-20 14:54:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 14:54:53 +0800 |
commit | c94068a8bbbc111e9886c928afddabcdd7be131a (patch) | |
tree | 0e158cd96f59a7c9c99e1940657411d6e851db1f /node | |
parent | 8d815e365cd2cda2e865dd2e272ebb5a3d4b8772 (diff) | |
parent | e3ec77f50e7e11c7f38bc87b1981afe9df240a2a (diff) | |
download | go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.tar go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.tar.gz go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.tar.bz2 go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.tar.lz go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.tar.xz go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.tar.zst go-tangerine-c94068a8bbbc111e9886c928afddabcdd7be131a.zip |
Merge pull request #19700 from karalabe/cleanup-graphql
cmd, graphql, node: graphql flag polishes, les integration
Diffstat (limited to 'node')
-rw-r--r-- | node/defaults.go | 16 |
1 files changed, 9 insertions, 7 deletions
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, |