ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 44 forks source link

fix(p2p): don't reconnect peers when pool closed #1965

Closed sangaman closed 4 years ago

sangaman commented 4 years ago

This ensures that we don't attempt to reconnect to peers that have disconnected from us after we have started closing the p2p pool. This may help prevent scenarios where we unintentionally attempt to reconnect to peers after shutting down xud.

kilrau commented 4 years ago

Should be tested against https://github.com/ExchangeUnion/xud/issues/1668#issuecomment-684828808 @raladev