aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-01-02 18:56:19 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:55 +0800
commit4e5dae94944abed607fc2e184dfb26267c5fa541 (patch)
treecdcba33b1c97d8048471b6a6b3099ba775b926b8 /node
parent96b70e6992620e17a1a64663d87d565e09dc1308 (diff)
downloaddexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.gz
dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.tar.zst
dexon-4e5dae94944abed607fc2e184dfb26267c5fa541.zip
node: increase default max number of peers (#120)
Diffstat (limited to 'node')
-rw-r--r--node/defaults.go2
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(),
},
}