]> Sergey Matveev's repositories - btrtrc.git/blob - TODO
Kick only the worst connection when a piece fails a check
[btrtrc.git] / TODO
1  * Make use of sparse file regions in download data for faster hashing. This is available as whence 3 and 4 on some OS?
2  * When we're choked and interested, are we not interested if there's no longer anything that we want?
3  * dht: Randomize triedAddrs bloom filter to allow different Addr sets on each Announce.
4  * data/blob: Deleting incomplete data triggers io.ErrUnexpectedEOF that isn't recovered from.
5  * UL/DL rate-limiting.
6  * Handle Torrent being dropped before GotInfo.
7  * Track connection chunk contributions to successful and failed piece hashes. Only drop the worst performer on a bad hash. Maybe block its IP.
8  * Remove assumptions that the first piece requested will be the first that peers will send.
9  * Clean-up DHT transaction code, it's just nasty.
10  * Handle wanted pieces more efficiently, it's slow in in fillRequests, since the prioritization system was changed.
11  * Determine if we should accept connections, even if we just close them. http://stackoverflow.com/questions/35108571/can-i-leave-sockets-in-syn-recv-until-im-interested-in-accepting
12  * Implement BEP 40.
13  * Rewrite tracker package to be announce-centric, rather than client. Currently the clients are private and adapted onto by the Announce() func.
14  * Move tracker management code in the torrent package to its own file.