Skip to content
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

tox_unstrap / tox_remove_tcp_relay #1599

Closed
84564221 opened this issue Jul 5, 2016 · 2 comments
Closed

tox_unstrap / tox_remove_tcp_relay #1599

84564221 opened this issue Jul 5, 2016 · 2 comments

Comments

@84564221
Copy link

84564221 commented Jul 5, 2016

Reducing the amount of active DHT nodes could reduce the amount of active UDP/TCP connections, especially on mobile clients like phones, laptops or tablets. The logic should be implemented in a client, and not toxcore itself.

However, my current solution to reduce the amount of active UDP/TCP connections is to (1) disconnect from the network (tox_kill) and (2) to reconnect to the DHT network (tox_new) with the desired/reduced amount of DHT nodes (tox_bootstrap / tox_add_tcp_relay if use_udp=false).

I wonder if it would be possible, to hot reduce the amount of connected DHT nodes within toxcore itself (something like tox_unstrap / tox_remove_tcp_relay)?

@84564221 84564221 closed this as completed Jul 5, 2016
@xavierle
Copy link

xavierle commented Sep 5, 2016

why did you closed the issue ?

you changed your mind about he solution ?

@iphydf
Copy link
Contributor

iphydf commented Sep 5, 2016

An unbootstrap function would not really work, because the nodes you bootstrap to are a very small subset of nodes you actually interact with. Also, the nodes you bootstrap to may not be in the list for long, if other, better (closer to your friends) nodes can be found. Removing TCP relays might work, but probably isn't very useful, either.

TL;DR: I don't think this is a solution to bandwidth problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants