neoneo-go/config
Roman Khimov 7cf9a40468 network: fix MaxPeers, introduce AttemptConnPeers
Our node didn't respect the MaxPeers setting, fix it with a drop of random
connection when this limit is reached (to give a chance for newcomers to
communicate), but also introduce AttemptConnPeers setting to tune the number
of attempted connections.

This also raises the default MaxPeers for testnet/mainnet to 100, because
neo-go nodes love making friends.
2019-11-06 15:29:58 +03:00
..
config.go network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.mainnet.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.privnet.docker.four.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.privnet.docker.one.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.privnet.docker.three.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.privnet.docker.two.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.privnet.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.testnet.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00
protocol.unit_testnet.yml network: fix MaxPeers, introduce AttemptConnPeers 2019-11-06 15:29:58 +03:00