EmberCoin / Ember

Official Ember Blockchain
http://embercoin.io/
MIT License
25 stars 31 forks source link

maxconnection=x is ignored or wrong checked #29

Open Himan2001 opened 6 years ago

Himan2001 commented 6 years ago

With version 1.1.3 "maxconnections=20" don´t connect to the network when maxconnections is smaler then 75. By using Version 1.1.4 i can set maxconnection=25 - but in reality it has more then 50 connections and still counting. So the maxconnection-settings is borked and ignored in the last two releases.

jt42jt commented 6 years ago

Use it in conjunction with listen=0 and see if that works.

Himan2001 commented 6 years ago

in my case i like to use it as server/daemon, not as client only. So i think it must work in client AND server/daemon-mode ?

EmberCoin commented 6 years ago

Is this still the case with version v1.1.5?

Himan2001 commented 6 years ago

maxconnections is generelly working again, but the behavior is not the same as by other daemons:

setting maxconnections=25 used at least 26-28 connection on windows or linux.

Normaly 10 connections are reserved typicly by using this setting. So my normal behavior is by setting maxconnections=25, that the daemon uses between 8-15 connection avg. 10 connections are usuable reserved for new incomming and outgoing connections.

EmberCoin commented 6 years ago

Ahhh, I see. That is good information to know. Expect a changeset to match other daemon's behavior for v1.1.5.2

ghost commented 6 years ago

The bug got worse and now there are no connections at all and the wallet stays out of sync