1. 14 May, 2021 1 commit
    • Adin Schmahmann's avatar
      Crawler based DHT client (#709) · eac1b5e1
      Adin Schmahmann authored
      * fullrt: add experimental FullRT DHT client
      
      The FullRT client periodically crawls the network to fill its local routing table and uses that to perform queries. It supports performing many provides or puts together taking advantage of efficiencies of grouping the DHT operations by where they will occur in the Kademlia space. Additionally, it has a more tunable function for determining when a query is complete that does not require waiting on any individual peer (which could be offline) to respond. This client is experimental and its exposed interfaces should be expected to change and break over time.
      
      * crawler: starting peers with addresses and peers found during a crawl have their addresses extended. logging improved
      
      * dht: move IpfsDHT options to the internal package. Make a breaking change to the filter interfaces to support more DHT implementations
      
      * dht: GetClosestPeers now returns a slice of peers instead of a channel of peers since we have to wait for the query to complete to return the closest peers anyway
      
      * dht: the subscriberNotifiee has been refactored to work more independently of the underlying message sender implementation
      eac1b5e1
  2. 04 Jan, 2021 1 commit
  3. 14 Aug, 2020 1 commit
  4. 09 Apr, 2020 1 commit
  5. 07 Apr, 2020 1 commit
  6. 03 Apr, 2020 10 commits
  7. 19 Dec, 2019 1 commit
  8. 16 Dec, 2019 1 commit
  9. 11 Oct, 2019 1 commit
  10. 04 Oct, 2019 1 commit
  11. 14 Jun, 2019 1 commit
  12. 26 May, 2019 1 commit
  13. 12 Feb, 2019 2 commits
  14. 03 Feb, 2019 1 commit
  15. 07 Jun, 2018 1 commit
  16. 01 May, 2018 1 commit
  17. 20 Feb, 2018 1 commit
  18. 12 Dec, 2017 1 commit
  19. 05 Dec, 2017 1 commit
  20. 06 Oct, 2017 1 commit
  21. 27 Jul, 2017 2 commits
    • Tomas Virgl's avatar
      Update lookup.go · 3a8cbdef
      Tomas Virgl authored
      3a8cbdef
    • Tomas Virgl's avatar
      Fix logging of keys. · ff9720c9
      Tomas Virgl authored
      Currently keys that get logged are casted from []byte. Which means that log output looks like this.
      ```
      {"event":"getClosestPeersBegin","key":"\u0012 \ufffdᱡ\ufffd`\ufffdF]\ufffd\ufffdᠸCƶ\u0006E\ufffdrb\ufffd\ufffdO\ufffd\ufffdu\ufffd\ufffdj\u000b","system":"dht","time":"2017-07-27T11:12:08.51775836Z"}
      ```
      after fix like this:
      ```
      {"event":"getClosestPeersBegin","key":"QmQyyaB8znrakGydP3ynRsXre96Uw9wc6w6zuP61bbZuNj","system":"dht","time":"2017-07-27T11:16:30.693008112Z"}
      ```
      ff9720c9
  22. 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
      WIP: add test to reproduce getclosestpeers bug · eafc461a
      Jeromy authored
      eafc461a
  23. 01 Nov, 2016 1 commit
  24. 05 Oct, 2016 1 commit
  25. 30 Sep, 2016 2 commits
  26. 02 Sep, 2016 1 commit
  27. 21 Aug, 2016 1 commit