Doesnt refresh properly
This commit is contained in:
parent
ebd0d818eb
commit
8d58a9f419
4 changed files with 64 additions and 32 deletions
6
TODO.md
6
TODO.md
|
|
@ -18,7 +18,11 @@
|
|||
- [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.
|
||||
- [x] 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)
|
||||
- [ ] Routing table - is it balanced properly?
|
||||
- [ ] Don't query Bad nodes
|
||||
- [-] Buckets that have not been changed in 15 minutes should be "refreshed." (per RFC)
|
||||
- [ ] Did it, but it's flawed: starts repeating the same queries again as neighboring refreshes
|
||||
don't know about the other ones, and DHT returns the same nodes again and again.
|
||||
- [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.
|
||||
- [x] Ensure that if we query the "returned" nodes, they are even closer to our request than the responding node id was.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue