1. 07 Nov, 2018 1 commit
    • Steven Allen's avatar
      mocknet: use peer ID in peer address · f4229470
      Steven Allen authored
      RandLocalTCPAddress is mostly useful when we *actually* want to listen on a real
      address. Unfortunately, when running a bunch of tests, we can actually run
      out.
      
      With this change, a collision means we have a duplicate peer ID so yeah...
      
      fixes #473
      f4229470
  2. 08 Sep, 2018 1 commit
  3. 02 Aug, 2017 1 commit
  4. 01 Aug, 2017 1 commit
  5. 31 May, 2017 1 commit
    • Lars Gierth's avatar
      basichost: refactor BasicHost construction · f0453a24
      Lars Gierth authored
      There were previously 4 different ways of passing various options
      into BasicHost construction.
      
      1. Function parameters to New
      2. Option parameters to New
      3. Global variables, e.g. NegotiateTimeout
      4. Options struct, in the calling code in go-ipfs
      
      This changeset deprecated all of these, and introduces the HostOpts
      struct to replace them. It also introduces a new constructor called
      NewHost, which accepts a *HostOpts.
      
      The old New constructor continues to work the same way,
      but is from now on deprecated too.
      f0453a24
  6. 17 Nov, 2016 1 commit
  7. 10 Nov, 2016 1 commit
  8. 05 Oct, 2016 1 commit
  9. 04 Oct, 2016 3 commits
  10. 03 Oct, 2016 1 commit
  11. 10 Aug, 2016 1 commit
  12. 31 May, 2016 1 commit
  13. 27 Apr, 2016 2 commits
  14. 12 Apr, 2016 1 commit
  15. 03 Mar, 2016 1 commit
  16. 04 Jan, 2016 1 commit
  17. 07 Dec, 2015 1 commit
    • Jeromy's avatar
      WIP · d91b419e
      Jeromy authored
      d91b419e
  18. 19 Nov, 2015 1 commit
  19. 16 Nov, 2015 3 commits
  20. 15 Nov, 2015 1 commit
  21. 12 Nov, 2015 1 commit
  22. 30 Sep, 2015 2 commits
  23. 28 Aug, 2015 1 commit
  24. 27 Aug, 2015 1 commit
  25. 04 Jul, 2015 2 commits
  26. 31 Mar, 2015 1 commit
  27. 25 Feb, 2015 1 commit
    • Henry's avatar
      rewrote import paths of go.net/context to use golang.org/x/context · e73da92c
      Henry authored
      - updated go-ctxgroup and goprocess
      ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
      - p2p/net/mock/mock_net.go
      - routing/dht/dht.go
      
      - updated context from hg repo to git
      prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
      represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo
      
      - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)
      
      Aaron Jacobs (2):
      net/context: Don't accept a context in the DoSomethingSlow example.
      context: Be clear that users must cancel the result of WithCancel.
      
      Andrew Gerrand (1):
      go.net: use golang.org/x/... import paths
      
      Bryan C. Mills (1):
      net/context: Don't leak goroutines in Done example.
      
      Damien Neil (1):
      context: fix removal of cancelled timer contexts from parent
      
      David Symonds (2):
      context: Fix WithValue example code.
      net: add import comments.
      
      Sameer Ajmani (1):
      context: fix TestAllocs to account for ints in interfaces
      e73da92c
  28. 26 Jan, 2015 1 commit
  29. 05 Jan, 2015 3 commits
  30. 02 Jan, 2015 2 commits