1. 22 Aug, 2021 1 commit
  2. 11 Aug, 2021 1 commit
  3. 13 Jul, 2021 1 commit
  4. 20 May, 2020 1 commit
  5. 26 May, 2019 1 commit
  6. 15 Feb, 2019 1 commit
  7. 04 Feb, 2019 3 commits
  8. 29 Jan, 2019 1 commit
  9. 23 Jan, 2019 1 commit
  10. 26 Jun, 2018 2 commits
    • Steven Allen's avatar
      switch to a per DialPeer/NewStream timeout defined in go-libp2p-net · 8071fe6c
      Steven Allen authored
      The global per-peer dial timeout had a significant drawback: When dialing many
      peers, this timeout could cause libp2p to cancel dials while they were still
      stuck in the limiter.
      
      A better but more complicated approach is a time budget system but we can
      implement that later.
      
      This change simply applies the limit to each `DialPeer`/`NewStream` call
      independently and makes it easy to override. While old timeout tried to
      account for how much we're willing to spend dialing a single peer, this new
      timeout tries to account for the amount of time a single "client" is willing to
      wait for a dial to complete before they no longer care.
      8071fe6c
    • Steven Allen's avatar
      remove unused success boolean · 1c07b91c
      Steven Allen authored
      1c07b91c
  11. 11 Jun, 2018 1 commit
  12. 07 Jun, 2018 1 commit
  13. 05 Jun, 2018 1 commit
    • Steven Allen's avatar
      refactor for new transports · f73db3de
      Steven Allen authored
      Removes:
      
      * go-libp2p-conn logic (moved to transports)
      * go-libp2p-peerstream (moved here)
      
      Changes:
      
      * New transport interface.
      * Explicit over implicit (the implicit automagic now all lives in go-libp2p):
        * No more default transports, muxers, etc.
        * No more fallback dialer. Transports are now *required*.
      * Stream opening:
        * Connection picking logic (instead of just picking the first).
        * Tries harder to open a stream of some connections happen to be closed.
      * Stream closing:
        * No longer treats half-closed streams as fully closed. Users *must* read the
          an EOF or reset the stream for it to be garbage collected.
      * No more polling for dead connections.
      * Multiplexers are now *non-optional*. Really, they haven't been optional for a
        while but we still pretended that they were.
      * No more Network type alias. It added a bunch of code and didn't really provide
        anything but an alternative set of methods that do the same thing.
      * Notifications:
        * New guarantee: connection open notifications will complete before connection
          close notifications begin.
        * Given that, notifications are now delivered in parallel. No more
          notification backlogs blocking connection closing/opening.
      f73db3de
  14. 09 Mar, 2018 1 commit
  15. 03 Jan, 2018 1 commit
  16. 21 Nov, 2017 1 commit
    • Steven Allen's avatar
      nil out references to finished dials · 7446b0c8
      Steven Allen authored
      We need a better solution (this is a memory hotspot when mass dialing) but that
      will take some thought and effort. This is a simple fix that should reduce
      memory usage a bit.
      7446b0c8
  17. 31 Jul, 2017 1 commit
  18. 03 Feb, 2017 2 commits
  19. 11 Nov, 2016 1 commit
  20. 05 Oct, 2016 1 commit
  21. 04 Oct, 2016 2 commits
  22. 08 Sep, 2016 1 commit
  23. 16 Aug, 2016 1 commit
  24. 10 Aug, 2016 1 commit
  25. 31 May, 2016 3 commits