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-01-14 15:26:26 +0800
commitc596bcb9fc069bd2dbc758b3dc1fdccd8df19afb (patch)
treef3ad8e5f2af360ea8c1e03c64c971bc9f9fbfabc /node
parentb39d189cf5ad87a7afe0093115e79591b633e21e (diff)
downloaddexon-c596bcb9fc069bd2dbc758b3dc1fdccd8df19afb.tar.gz
dexon-c596bcb9fc069bd2dbc758b3dc1fdccd8df19afb.tar.zst
dexon-c596bcb9fc069bd2dbc758b3dc1fdccd8df19afb.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(),
},
}