1. 04 Jan, 2021 2 commits
  2. 14 Aug, 2020 1 commit
  3. 09 Apr, 2020 1 commit
    • Steven Allen's avatar
      fix: remove local provider check · 4bac0452
      Steven Allen authored
      It doesn't actually work. Blocks are stored under /blocks and have been since
      2015.
      
      Furthermore, this is just wrong. We shouldn't go digging through the datastore
      to see if we happen to have the block. If we want something like this, we should
      include a blockstore in the provider manager.
      4bac0452
  4. 07 Apr, 2020 1 commit
  5. 03 Apr, 2020 2 commits
    • Steven Allen's avatar
      feat: better logging · 445472b1
      Steven Allen authored
      * Remove deprecated events.
      * Fix warning -> warn.
      * Use structured logging (some places).
      445472b1
    • Steven Allen's avatar
      feat: return target peer if we know about them (#511) · d0770d24
      Steven Allen authored
      Previously, we'd only return the target peer if we were connected to them.
      However, this makes it difficult to impossible to find peers that are mostly
      disconnected from the network.
      
      This change also changes `p` to `from` in several places as `p` is _very_
      confusing. We should probably switch away from using `p` everywhere.
      d0770d24
  6. 13 Mar, 2020 1 commit
  7. 19 Dec, 2019 2 commits
  8. 06 Dec, 2019 1 commit
  9. 02 Dec, 2019 1 commit
    • Steven Allen's avatar
      chore(dep): update · 0d482540
      Steven Allen authored
      Update deps:
      
      * Switch to multiformats/go-base32
      * Regenerate protobuf decoding code
      0d482540
  10. 15 Nov, 2019 1 commit
  11. 04 Oct, 2019 1 commit
  12. 23 Jul, 2019 1 commit
  13. 26 May, 2019 1 commit
  14. 14 Mar, 2019 1 commit
  15. 15 Feb, 2019 1 commit
  16. 12 Feb, 2019 2 commits
  17. 03 Feb, 2019 1 commit
  18. 25 Aug, 2018 1 commit
  19. 23 Aug, 2018 3 commits
  20. 13 Aug, 2018 1 commit
  21. 08 Aug, 2018 1 commit
  22. 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
  23. 14 Jun, 2018 1 commit
  24. 13 Jun, 2018 1 commit
  25. 01 Jun, 2018 1 commit
    • Steven Allen's avatar
      require that the validator be explicitly passed in · 3befc403
      Steven Allen authored
      Note: this does mean that the DHT won't work with peer keys by default and that
      the constructor signature changes. Given all the changes that'll come with the
      libp2p refactor, I don't feel too bad about this.
      3befc403
  26. 01 Apr, 2018 1 commit
  27. 05 Mar, 2018 1 commit
  28. 07 Feb, 2018 1 commit
  29. 09 Jan, 2018 1 commit
  30. 11 Dec, 2017 1 commit
  31. 05 Dec, 2017 1 commit
  32. 05 Oct, 2016 1 commit
  33. 30 Sep, 2016 2 commits