lightninglabs / neutrino

Privacy-Preserving Bitcoin Light Client
MIT License
900 stars 183 forks source link

neutrino: don't request new connections once max peers is reached #191

Closed wpaulino closed 4 years ago

wpaulino commented 4 years ago

Doing so would get us in a loop where we continue to request connections but we end up disconnecting them due to already having our maximum number of peers.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.1%) to 70.835% when pulling 8e08ede36959051fe967b9ad3ff65577f12eee2c on wpaulino:no-request-max-peers into ebbd2d8c1b0a33004abde179f677fb04ea5a4e46 on lightninglabs:master.