-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximize DHT swarm size by adding other DHT bootstrap servers #5900
Comments
thnx! |
AFAIK, we don't. At least there are no mentions of it in the code. |
By default, Libtorrent uses |
This does seem like something we could easily implement though: the add_dht_node and add_dht_router calls exist in libtorrent and should be available in the bindings (on |
We're already adding DHT routers manually. We just need to extend the list in the tribler/src/tribler-core/tribler_core/modules/libtorrent/download_manager.py Lines 35 to 39 in 4999bfc
|
@egbertbouman , what's the difference between |
@ichorid Right, the |
dht routers are not treated as regular nodes. They are only used when bootstrapping the DHT fails. for example if there aren't any nodes saved from the last session, or they all fail to be contacted. routers could also be made to never be saved in the routing table, but I don't think there's any logic like that currently, but doing so might make sense in the future. |
@synctext , so, is it possible to increase connectivity and get to bigger swarms by adding more bootstrap nodes to |
it's not obvious to me that it would have that effect. Especially if the routing table is already "full". And if the routing table isn't full, it may be caused by some connectivity problem where nodes are lost too frequently to be replenished. In which case the tweaks to the table maintenance settings might be in order. Say, more frequent bucket refreshes. |
These DHT bootstrap servers could be added to maximize the size of the DHT swarm available to a Tribler client:
The initial swarms are regimented according to the app as many torrent apps do not permit adding more, or users don't know how. Adding them all as default maximizes a Tribler peer's chances of finding content and is a benefit to everyone.
The text was updated successfully, but these errors were encountered: