atomashpolskiy / bt

BitTorrent library and client with DHT, magnet links, encryption and more
https://atomashpolskiy.github.io/bt/
Apache License 2.0
2.42k stars 381 forks source link

bug #139 - missing equals/hashCode on InetPeer #191

Closed pyckle closed 3 years ago

atomashpolskiy commented 3 years ago

Interestingly, this broke the Swarm_MagnetIT test...

pyckle commented 3 years ago

Whoops. Trying again (: There's actually quite a bit of code that sadly depends on the identity hashCode/equals, and also a lot of code that is broken due to it not being based on the peer name and the port. Also the port is mutable.