1. 23 Jul, 2019 1 commit
  2. 26 May, 2019 1 commit
  3. 15 Apr, 2019 1 commit
  4. 14 Mar, 2019 1 commit
  5. 05 Mar, 2019 1 commit
  6. 12 Feb, 2019 2 commits
  7. 03 Feb, 2019 1 commit
  8. 30 Jan, 2019 1 commit
    • Matt Joiner's avatar
      Tidy up bootstrapping (#235) · 2d2bb551
      Matt Joiner authored
      * Remove signal bootstrapping
      
      Remove IpfsDHT.BootstrapOnSignal.
      
      * Type check expected interfaces on IpfsDHT
      
      * Simplify the bootstrap logic
      
      * Tidy up a few other things
      
      * Include BootstrapOnce
      
      * Add comment about duplicating sanity checks
      
      * Use existing import naming convention
      
      * Defer error wrapping until we need it
      
      * Restore existing query count behaviour
      2d2bb551
  9. 24 Jan, 2019 1 commit
  10. 23 Jan, 2019 1 commit
  11. 22 Jan, 2019 1 commit
  12. 09 Jan, 2019 1 commit
    • Gustvo Chain's avatar
      Remove outdated package documentation · 70d5802f
      Gustvo Chain authored
      Both, dht.go and dht_bootstrap.go duplicate the package documentation.
      The whole block had been moved to doc.go
      
      Also query.go provides documentation for query package but now it
      belongs to dht package, so it's been removed.
      70d5802f
  13. 15 Nov, 2018 2 commits
  14. 12 Sep, 2018 1 commit
  15. 08 Aug, 2018 1 commit
  16. 03 Aug, 2018 1 commit
  17. 02 Aug, 2018 1 commit
  18. 15 Jun, 2018 1 commit
    • Steven Allen's avatar
      return info for connected peers in handleFindPeer · 2c8f3872
      Steven Allen authored
      This way, users who are actually trying to find a peer (not just nodes near a
      key in the DHT) can find that peer, even if they aren't a DHT server and/or
      aren't in anyone's routing table.
      
      fixes #161
      2c8f3872
  19. 14 Jun, 2018 1 commit
  20. 13 Jun, 2018 1 commit
  21. 03 Jun, 2018 1 commit
  22. 01 Jun, 2018 4 commits
  23. 21 May, 2018 1 commit
  24. 28 Mar, 2018 1 commit
  25. 27 Mar, 2018 1 commit
  26. 07 Feb, 2018 1 commit
  27. 07 Jan, 2018 1 commit
    • Steven Allen's avatar
      fix connection tracking race · 36ae474b
      Steven Allen authored
      Before, we could end up (e.g.):
      
      1. Creating two connections (both sides connect at the same time).
      2. Try to test with the first one.
      3. The first connection dies.
      4. Get a stream reset and think that the other side doesn't support the DHT
      protocol.
      
      We tried to fix this by checking for an EOF. Unfortunately, reset streams don't
      return EOFs.
      
      This commit also simplifies peer tracking (and saves a bit of memory).
      
      fixes #99
      36ae474b
  28. 11 Dec, 2017 1 commit
  29. 05 Dec, 2017 1 commit
  30. 08 Oct, 2017 1 commit
  31. 27 Jul, 2017 1 commit
  32. 06 Mar, 2017 2 commits
    • Jeromy's avatar
      Fixes for dht findpeer queries · 00b46e0c
      Jeromy authored
      First, we use Alpha instead of K as the number of peers we grab from the
      routing table (as per the kademlia paper).
      
      Second, we don't use a size limited set for the 'GetClosestPeers' query.
      We're going to process more than K peers before we find the K closest
      peers.
      
      Third, Change GetClosestPeers to actually return the K Closest peers,
      not a hodge podge of peers that it found on the way to finding the
      closest peers.
      00b46e0c
    • Jeromy's avatar
      clean up logic in getcloserpeers · fa1630a3
      Jeromy authored
      fa1630a3
  33. 22 Nov, 2016 1 commit
  34. 16 Nov, 2016 1 commit