summaryrefslogtreecommitdiff
path: root/toxcore/DHT.c
AgeCommit message (Collapse)Author
2015-06-09Define fix.irungentoo
2015-06-08Remove useless variables.irungentoo
2015-06-07Don't bootstrap to all loaded nodes at once.irungentoo
2015-06-07Save DHT friend nodes too.irungentoo
2015-06-06Save DHT nodes in a smarter way.irungentoo
2015-05-02Small cleanups.irungentoo
2015-03-14Better DHT distance function.irungentoo
2015-01-29Code cleanups.irungentoo
Rename array in Node_format from client_id to public_key.
2015-01-14Don't enforce limits on pings for LAN ips.irungentoo
2015-01-12Attempted fix of Tox killing routers part 2.irungentoo
Reduced drastically the number of ips the DHT pings by only pinging nodes that would be included in one of the close lists.
2015-01-10Merge branch 'mannol-master'irungentoo
2015-01-10Logger fixmannol
2015-01-06Removed unused variables.irungentoo
2015-01-02Removed useless function.irungentoo
2014-12-31Removed now useless packet id.irungentoo
2014-12-31Check if received ip family is valid for the onion packets.irungentoo
2014-12-30Remove useless code.irungentoo
2014-12-15DHT fixes.irungentoo
This should speed up DHT searches.
2014-12-14Sendback data size is always 8 bytes.irungentoo
2014-11-21Cleaned up packet length types in toxcore.irungentoo
They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints.
2014-10-27Fix DHT memory leakTux3 / Mlkj / !Lev.uXFMLA
Found with valgrind, in the order of magnitude of 100kB leaked
2014-09-27Make the ip port from DHT timeout after a while.irungentoo
Some small fixes.
2014-09-26Added callbacks to onion_client and net_crypto for the temp dht key.irungentoo
Better than the polling mess. Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-09-26Added callbacks to DHT called when the ip of a peer is discovered.irungentoo
2014-09-26DHT can now be used for group chat cons and friend cons at the same time.irungentoo
2014-09-12Some cleanups to last PR.irungentoo
2014-09-12Merge branch 'tox_connect' of https://github.com/saneki/toxcoreirungentoo
2014-09-12Removed tox_connect, initial connections are made on first tox_dosaneki
2014-09-10Remove unused function in DHT.cTux3 / Mlkj / !Lev.uXFMLA
2014-09-09Fixed spacingsaneki
2014-09-09Added tox_connect function, no connecting done during tox_loadsaneki
2014-08-21Fixed some gcc warnings.irungentoo
2014-08-18Added function to check if we were only connected to LAN DHT peers.irungentoo
2014-08-09Merge branch 'remove-sort_list' of https://github.com/pyruvate/toxcoreirungentoo
2014-08-09Refactoring of node replacements in addto_lists functionpyruvate
An index for replacement candidate is searched in one lookup cycle for all types (bad, possibly bad, good). Sorting of items has been removed (sorting logic can be substituted by a maximum search).
2014-06-30Const-correctness for onion_client.cMarc Schütz
2014-06-20Fix CppCheck style errorsTux3 / Mlkj / !Lev.uXFMLA
#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage *msg, char *dest) This function has no effect and does not seem to be used for actively waiting. Fix various other style errors, reduce scope when possible, avoid redundant writes, clarify operator priorities, etc.
2014-06-18Included assert.h for Messenger/DHT.cJman012
2014-06-13Const correctness for various packet callbacksMarc Schütz
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in various interdependent filesMarc Schütz
2014-06-07Toxcore closer to building correctly with gcc -std=c99.irungentoo
2014-05-28Reduced size of get_node packets.irungentoo
Sendback data is now 8 bytes. This does not break the network as the sendback data can be any size between 1 and 150 bytes.
2014-05-25Merge branch 'mannol1-Multicalls' into multi-avirungentoo
2014-05-20Merge upstream and other stuffmannol
2014-05-14It's bad to have more than one path with the same first node in theirungentoo
same path array.
2014-05-13pack/unpack nodes can now pack and unpack TCP nodes.irungentoo
2014-05-13Nodes already in the DHT closelist should not be added to the toping list.irungentoo
2014-05-08Merge branch 'master' into TCPirungentoo
2014-05-08Connection between toxes is lossless once again.irungentoo