]> Sergey Matveev's repositories - btrtrc.git/commit
Drop connections that contributed to pieces that failed to hash
authorMatt Joiner <anacrolix@gmail.com>
Mon, 3 Aug 2015 15:12:09 +0000 (01:12 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 3 Aug 2015 15:12:09 +0000 (01:12 +1000)
commit54339a30e34aae7872f55fcb8abc2e69a14f6cea
tree86d3f10d2d09e5a87940461773762dd270622838
parent51aad774ab4ae964e67521520594beabaddc98ca
Drop connections that contributed to pieces that failed to hash

There are peers out there that seem to intentionally spam bad data, and the same pieces will often fail continuously. This really puts a bee in their bonnet.
client.go
connection.go
dht/dht.go