diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-02 18:56:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:00 +0800 |
commit | 40a7e2889a1cd87f43e7a05aeed128835574b40b (patch) | |
tree | e094779e284b6656899aa486691ae043d0b08b6b /node | |
parent | 3568ab353e65d81e7d321def79d6cf52f32a0a6c (diff) | |
download | dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.tar dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.tar.gz dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.tar.bz2 dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.tar.lz dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.tar.xz dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.tar.zst dexon-40a7e2889a1cd87f43e7a05aeed128835574b40b.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(), }, } |