diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-02 18:56:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:20 +0800 |
commit | 1917fe9c42fb5cbdb1970827934672fa4bb805a7 (patch) | |
tree | f2434374259f576724951dcf30f98ee6e267870a /node | |
parent | 699d1c7f48d975d042f01659f4772b2153d36882 (diff) | |
download | go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.tar go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.tar.gz go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.tar.bz2 go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.tar.lz go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.tar.xz go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.tar.zst go-tangerine-1917fe9c42fb5cbdb1970827934672fa4bb805a7.zip |
node: increase default max number of peers (#120)
Diffstat (limited to 'node')
-rw-r--r-- | node/defaults.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/defaults.go b/node/defaults.go index ec4fc8039..90db6ea68 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -45,7 +45,7 @@ var DefaultConfig = Config{ WSModules: []string{"net", "web3"}, P2P: p2p.Config{ ListenAddr: ":30303", - MaxPeers: 25, + MaxPeers: 100, NAT: nat.Any(), }, } |