top | item 38510693

(no title)

ikatson | 2 years ago

At the moment, it doesn't listen for bittorent downloads on neither UDP nor TCP, so external peers can't connect to it.

It only listens on UDP for DHT requests.

So if it connects by itself (only TCP is supported), then it can upload. In reality, this makes uploading rare.

For "being a good citizen" of the network, a couple days ago I implemented storing peer information, so that it can be returned back when DHT nodes query for it. It has limitations though, e.g. only storing 1000 peers at the moment, and not cleaning up old peers once the peer store is full.

Listening on UDP for torrent requests seems like a big change, maybe someday.

discuss

order

No comments yet.