Re: [libtorrent] DHT nodes question
Brought to you by:
arvidn
|
From: arvid <ar...@cs...> - 2015-05-28 20:44:53
|
On 2015-05-28 11:56, Ricky Huang wrote: > Hello all, > > While looking into DHT documentations, I decided to play with the > libtorrent torrent_info->nodes() for examples. What I noticed was > that most of the torrents do not have DHT nodes (only 1 out of 10) and > that the actual nodes remains consistent over time (20 minutes). > > Is that the correct behavior, or should the DHT nodes of a torrent be > increased/decreased over time? And if the nodes do change, what’s the > mechanism that performs the addition/subtraction? torrent_info just represents a .torrent file. Just because you connect to more DHT nodes doesn't make the .torrent file have more bootstrap nodes in it. If you're interested in information about the DHT, you have to ask the session. There are also a few alerts that you can derive information from. -- Arvid Norberg |