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 21:32:55 +0800 |
commit | 4e5dae94944abed607fc2e184dfb26267c5fa541 (patch) | |
tree | cdcba33b1c97d8048471b6a6b3099ba775b926b8 /node | |
parent | 96b70e6992620e17a1a64663d87d565e09dc1308 (diff) | |
download | dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.gz dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.bz2 dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.lz dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.xz dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.zst dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.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(), }, } |