whisper: number of peers changed

This commit is contained in:
Vlad 2016-12-30 17:53:14 +01:00
parent ac273604ed
commit 50205216f2

View file

@ -283,7 +283,7 @@ func initialize() {
server = p2p.Server{ server = p2p.Server{
Config: p2p.Config{ Config: p2p.Config{
PrivateKey: nodeid, PrivateKey: nodeid,
MaxPeers: 48, MaxPeers: 128,
Name: common.MakeName("whisper-go", "5.0"), Name: common.MakeName("whisper-go", "5.0"),
Protocols: shh.Protocols(), Protocols: shh.Protocols(),
ListenAddr: ipAddress, ListenAddr: ipAddress,