toxcore/other/bootstrap_daemon/docker
jfreegman 0f3534656f
Improve how we share TCP relays with friends
Previously we would try to send three random TCP relays that we're
connected to to each friend once every 5 minutes. The problem with
this method is that it could take an extraordinarily long time
to share every relay; some relays might be consistently skipped
while others might be sent repeatedly. Moreover, there's no
guarantee that the nodes you try to send are actually online.
This leads to a prety unreliable and flaky way of sharing.

Now we reduce the timer to two minutes, and cycle through the list
trying 3 nodes each share attempt. This guarantees that every online
node in our list gets shared with every friend after a fixed amount of
time (which depends on how many nodes are in the list)
2022-02-17 16:16:29 -05:00
..
Dockerfile Add bash-completion for tox-bootstrapd 2022-02-10 02:40:42 -05:00
get-nodes.py chore: Add mypy Python type check. 2022-01-14 19:55:37 +00:00
tox-bootstrapd.sha256 Improve how we share TCP relays with friends 2022-02-17 16:16:29 -05:00
update-sha256 feat: Add WASM build for toxcore and websocket bootstrap node. 2022-02-02 16:05:25 +00:00