diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-02 18:56:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-01-14 15:26:26 +0800 |
commit | c596bcb9fc069bd2dbc758b3dc1fdccd8df19afb (patch) | |
tree | f3ad8e5f2af360ea8c1e03c64c971bc9f9fbfabc /node | |
parent | b39d189cf5ad87a7afe0093115e79591b633e21e (diff) | |
download | dexon-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.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(), }, } |