DHT routing table tracking errors better
This commit is contained in:
parent
74c11415f1
commit
dc3da89b59
3 changed files with 68 additions and 25 deletions
7
TODO.md
7
TODO.md
|
|
@ -14,12 +14,13 @@
|
|||
- [x] pause/unpause
|
||||
- [x] remove including from disk
|
||||
- [ ] DHT
|
||||
- [ ] for torrents with a few seeds might be cool to re-query DHT once in a while.
|
||||
- [x] many nodes in "Unknown" status, do smth about it
|
||||
- [x] for torrents with a few seeds might be cool to re-query DHT once in a while.
|
||||
- [ ] don't leak memory when deleting torrents (i.e. remove torrent information (seen peers etc) once the torrent is deleted)
|
||||
- [ ] Buckets that have not been changed in 15 minutes should be "refreshed." (per RFC)
|
||||
- [x] it's sending many requests now way too fast, locks up Mac OS UI annoyingly
|
||||
- [ ] After the search is exhausted, the client then inserts the peer contact information for itself onto the responding nodes with IDs closest to the infohash of the torrent.
|
||||
- [ ] Bad actors:
|
||||
- [ ] Ensure that if we query the "returned" nodes, they are even closer to our request than the responding node id was.
|
||||
- [x] Ensure that if we query the "returned" nodes, they are even closer to our request than the responding node id was.
|
||||
|
||||
someday:
|
||||
- [x] cancellation from the client-side for the lib (i.e. stop the torrent manager)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue