summaryrefslogtreecommitdiff
path: root/dht/src/Network/Tox
AgeCommit message (Collapse)Author
2020-01-01Avoid async queries for UDP kademlia searches.Joe Crayne
Commit 46b1ebb8 "Use async queries for all UDP kademlia searches." caused problems. This change reverts it. The async query support must be broken. When using async queries, eventually the "timeout" call stops working and a ping to an unresponding node just hangs forever waiting for a response. We will hold off on async queries until the timeout bug is better understood.
2020-01-01Remove query-id dependency from timeout computation.Joe Crayne
2020-01-01Debug print upon toxid garbage collection.Joe Crayne
2020-01-01Refactored node-id appearance to Codec.AsciiKey256.Joe Crayne
2020-01-01Tox-XMPP: Switched to z-base32 domain names.Joe Crayne
2020-01-01Prefer IPv4 when parsing TCP nodes JSON.Joe Crayne
2020-01-01* Fixed accidental usage of TCP rather than UDP port.Joe Crayne
* Onion: special handling for localhost addresses.
2020-01-01TCP Relay: use same crypto keys as Tox UDP node.Joe Crayne
2020-01-01Factor out some new librariesJames Crayne
word64-map: Data.Word64Map network-addr: Network.Address tox-crypto: Crypto.Tox lifted-concurrent: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument psq-wrap: Data.Wrapper.PSQInt Data.Wrapper.PSQ minmax-psq: Data.MinMaxPSQ tasks: Control.Concurrent.Tasks kad: Network.Kademlia Network.Kademlia.Bootstrap Network.Kademlia.Routing Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.Kademlia.Search