Transgui: [Feature Request] Show DHT nodes

Created on 18 Oct 2017  路  8Comments  路  Source: transmission-remote-gui/transgui

Is possible for the client to show the DHT nodes? For example in the status bar? Maybe it's not possible - does the daemon report DHT nodes?

enhancement help wanted

Most helpful comment

Torrent clients like Deluge show number of DHT nodes...

TransGUI is not a bittorrent client. Like the home page of this github project and the readme.md states:
_Transmission Remote GUI is a feature rich cross platform front-end to remotely control a Transmission Bit-Torrent client daemon via its RPC protocol._

So, TransGUI can麓t show info what is not provided by the Transmission daemon via RPC protocol.
Maybe your question is for Transmission forums

All 8 comments

It is necessary to study the possibility of transmitting information from the transmission using the rpc protocol.

The only info about DHT given by daemon is if a peer was discovered by DHT.
That peer have a H in the flags column.
Peer Status Text

Torrent clients like Deluge show number of DHT nodes...

Transmission uses https://github.com/jech/dht
The number of DHT nodes is shown by dht_nodes
The list of known good nodes is shown by dht_get_nodes
Neither of these is available through the RPC.
The daemon's config directory contains the dht.dat file as obtained by dht_get_nodes
That's as far as it goes.
You'd need to patch the daemon.

  • dht_nodes

This returns the number of known good, dubious and cached nodes in our
routing table. This can be used to decide whether it's reasonable to start
a search; a search is likely to be successful as long as we have a few good
nodes; however, in order to avoid overloading your bootstrap nodes, you may
want to wait until good is at least 4 and good + doubtful is at least 30 or
so.

It also includes the number of nodes that recently sent us an unsolicited
request; this can be used to determine if the UDP port used for the DHT is
firewalled.

If you want to display a single figure to the user, you should display
good + doubtful, which is the total number of nodes in your routing table.
Some clients try to estimate the total number of nodes, but this doesn't
make much sense -- since the result is exponential in the number of nodes
in the routing table, small variations in the latter cause huge jumps in
the former.

  • dht_get_nodes

This retrieves the list of known good nodes, starting with the nodes in our
own bucket. It is a good idea to save the list of known good nodes at
shutdown, and ping them at startup.

Torrent clients like Deluge show number of DHT nodes...

TransGUI is not a bittorrent client. Like the home page of this github project and the readme.md states:
_Transmission Remote GUI is a feature rich cross platform front-end to remotely control a Transmission Bit-Torrent client daemon via its RPC protocol._

So, TransGUI can麓t show info what is not provided by the Transmission daemon via RPC protocol.
Maybe your question is for Transmission forums

@PeterDaveHello
It is impossible to have transmisson-remote-gui do it unless the daemon is patched RPC to relay the DHT information requested.

@cfpp2p I know :)

bump
So does daemon send DHT numbers over RPC?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

volo-thomas picture volo-thomas  路  11Comments

sheykh-sleky picture sheykh-sleky  路  5Comments

leonsoft-kras picture leonsoft-kras  路  9Comments

Snegohod picture Snegohod  路  14Comments

Dustie picture Dustie  路  11Comments