]> Sergey Matveev's repositories - btrtrc.git/commit
Skip smartban hashing if there's no peers to ban for a piece
authorMatt Joiner <anacrolix@gmail.com>
Sat, 19 Jul 2025 11:44:39 +0000 (21:44 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 19 Jul 2025 11:44:46 +0000 (21:44 +1000)
commitc110aad882c40886efcc4f657e68bb8628e84b64
treea38006974792215194a40301a32ffc5531131c1b
parent7e994d5ef3191428b130b7ad8f881e8e871d1dbb
Skip smartban hashing if there's no peers to ban for a piece

Also take smartban.Cache lock only once per piece when forgetting blocks
iter.go
smartban.go
smartban/smartban.go
torrent.go