mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
0f3534656f
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) |
||
---|---|---|
.. | ||
analysis | ||
astyle | ||
bootstrap_daemon | ||
docker | ||
emscripten | ||
fun | ||
pkgconfig | ||
rpm | ||
bootstrap_node_packets.c | ||
bootstrap_node_packets.h | ||
BUILD.bazel | ||
cpufeatures.c | ||
DHT_bootstrap.c | ||
DHTnodes | ||
make_single_file | ||
Makefile.inc | ||
osx_build_script_toxcore.sh | ||
print-version | ||
tox-warning.png | ||
tox.png | ||
version-sync | ||
windows_build_script_toxcore.sh |