1. 04 Feb, 2019 1 commit
    • Matt Joiner's avatar
      Deflake TestFindPeerQuery (#245) · 8a62a143
      Matt Joiner authored
      * Rework TestFindPeersQuery
      
      Unravel the logic and create a minimal test case that isn't flaky.
      
      * Use testing.T.Logf
      
      * Skip the original test in short mode
      
      * Add comments for the arguments to testFindPeerQuery
      
      * Qualify aberrant package name
      
      * Use redundant package names
      
      * gx import testify 1.3.0.
      8a62a143
  2. 03 Feb, 2019 1 commit
  3. 31 Jan, 2019 1 commit
  4. 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
  5. 24 Jan, 2019 1 commit
  6. 23 Jan, 2019 4 commits
  7. 22 Jan, 2019 1 commit
  8. 12 Sep, 2018 1 commit
  9. 10 Aug, 2018 6 commits
  10. 25 Jun, 2018 1 commit
  11. 15 Jun, 2018 2 commits
  12. 14 Jun, 2018 2 commits
  13. 05 Jun, 2018 1 commit
  14. 04 Jun, 2018 1 commit
  15. 01 Jun, 2018 5 commits
  16. 14 Mar, 2018 2 commits
  17. 05 Mar, 2018 1 commit
  18. 11 Feb, 2018 1 commit
  19. 07 Feb, 2018 1 commit
  20. 20 Jan, 2018 2 commits
  21. 12 Dec, 2017 1 commit
  22. 19 Sep, 2017 1 commit
  23. 17 May, 2017 1 commit
  24. 06 Mar, 2017 1 commit
    • 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