kaspanet / kaspad

Kaspad was the reference full node Kaspa implementation written in Go (golang), now rewritten in Rust: https://github.com/kaspanet/rusty-kaspa
ISC License
457 stars 231 forks source link

Outgoing connections are being initiated to banned peers #1497

Closed stasatdaglabs closed 3 years ago

stasatdaglabs commented 3 years ago

Every so often, the following can be observed:

2021-02-07 13:11:15.148 [INF] TXMP: P2P Dialing to 54.229.69.222:16211
2021-02-07 13:11:15.148 [INF] PROT: Peer <<nil>: 3.250.56.173:16211> is banned. Disconnecting...

This likely happens because AddressManager.RandomAddresses does not properly filter out banned addresses.

svarogg commented 3 years ago

Closed as duplicate of #1122