Commit Graph

219 Commits

Author SHA1 Message Date
Steven Allen c833e2c9fc
Merge pull request #876 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.3
build(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.2.2 to 0.2.3
2020-04-27 19:46:37 -07:00
Steven Allen 9cc9d5c201
Merge pull request #893 from libp2p/dependabot/go_modules/github.com/libp2p/go-stream-muxer-multistream-0.3.0
build(deps): bump github.com/libp2p/go-stream-muxer-multistream from 0.2.0 to 0.3.0
2020-04-27 19:46:13 -07:00
Steven Allen 6dc5d50fc5
Merge pull request #892 from libp2p/dependabot/go_modules/github.com/libp2p/go-conn-security-multistream-0.2.0
build(deps): bump github.com/libp2p/go-conn-security-multistream from 0.1.0 to 0.2.0
2020-04-27 19:45:51 -07:00
Steven Allen 34867586a3
Merge pull request #895 from libp2p/dependabot/go_modules/github.com/libp2p/go-ws-transport-0.3.1
build(deps): bump github.com/libp2p/go-ws-transport from 0.3.0 to 0.3.1
2020-04-27 19:45:42 -07:00
Steven Allen 75a12253a3
Merge pull request #896 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-discovery-0.4.0
build(deps): bump github.com/libp2p/go-libp2p-discovery from 0.3.0 to 0.4.0
2020-04-27 19:45:31 -07:00
dependabot-preview[bot] 408e4d1286
build(deps): bump github.com/libp2p/go-libp2p-circuit
Bumps [github.com/libp2p/go-libp2p-circuit](https://github.com/libp2p/go-libp2p-circuit) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-circuit/releases)
- [Commits](https://github.com/libp2p/go-libp2p-circuit/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 11:27:49 +00:00
Steven Allen 06d9fc7987 fix: keep observed addrs alive as long as their associated connections are alive
Otherwise, if we're not creating new connections, we'll eventually forget them.

Up until now, this wasn't _too_ much of an issue because our peers would still
remember our addresses. However, we now _tell_ our connected peers when our
addresses change. That means we'll tell our peers to forget where we are,
preventing anyone from finding us.
2020-04-24 22:55:16 -07:00
dependabot-preview[bot] a276aade96
build(deps): bump github.com/libp2p/go-libp2p-discovery
Bumps [github.com/libp2p/go-libp2p-discovery](https://github.com/libp2p/go-libp2p-discovery) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/libp2p/go-libp2p-discovery/releases)
- [Commits](https://github.com/libp2p/go-libp2p-discovery/compare/v0.3.0...v0.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-25 03:12:09 +00:00
Steven Allen af58b8095d
Merge pull request #898 from libp2p/fix/set-protocols-race
fix: refactor logic for identifying connections
2020-04-24 20:08:24 -07:00
Steven Allen bd040ba050 fix: refactor logic for identifying connections
0. NEVER call `peerstore.SetProtocols(p)` (clear the protocol set). Given the
   new identify events, if someone looked in the peerstore at the wrong time, they
   could decide that the peer no longer speaks some protocol.
1. Reliably wait for identify before trying to open a stream. The old logic was
   _really_ racy.
2. Avoids potentially calling identify on the same connection multiple times.
3. Calls identify as early as possible. Previously, we'd invoke identify on
   inbound connections using an event that was only invoked _after_ all `Connected`
   event handlers completed. Now we invoke identify from a `Connected` handler.
2020-04-24 19:05:22 -07:00
dependabot-preview[bot] c1d75c13d1
build(deps): bump github.com/libp2p/go-ws-transport from 0.3.0 to 0.3.1
Bumps [github.com/libp2p/go-ws-transport](https://github.com/libp2p/go-ws-transport) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/libp2p/go-ws-transport/releases)
- [Commits](https://github.com/libp2p/go-ws-transport/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 11:22:13 +00:00
dependabot-preview[bot] 0dd75aff91
build(deps): bump github.com/libp2p/go-stream-muxer-multistream
Bumps [github.com/libp2p/go-stream-muxer-multistream](https://github.com/libp2p/go-stream-muxer-multistream) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/libp2p/go-stream-muxer-multistream/releases)
- [Commits](https://github.com/libp2p/go-stream-muxer-multistream/compare/v0.2.0...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 11:20:59 +00:00
dependabot-preview[bot] dde9d47473
build(deps): bump github.com/libp2p/go-conn-security-multistream
Bumps [github.com/libp2p/go-conn-security-multistream](https://github.com/libp2p/go-conn-security-multistream) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/libp2p/go-conn-security-multistream/releases)
- [Commits](https://github.com/libp2p/go-conn-security-multistream/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 11:20:36 +00:00
dependabot-preview[bot] f650f4b3df
build(deps): bump github.com/ipfs/go-log from 1.0.3 to 1.0.4
Bumps [github.com/ipfs/go-log](https://github.com/ipfs/go-log) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v1.0.3...v1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 17:21:30 +00:00
Steven Allen eb76a02251 feat: support TLS by default
But don't make it the default per https://github.com/libp2p/go-libp2p/pull/710#pullrequestreview-382182995.
2020-04-13 11:16:09 -07:00
dependabot-preview[bot] 70b242b685
build(deps): bump github.com/libp2p/go-libp2p-autonat
Bumps [github.com/libp2p/go-libp2p-autonat](https://github.com/libp2p/go-libp2p-autonat) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-autonat/releases)
- [Commits](https://github.com/libp2p/go-libp2p-autonat/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-09 11:20:22 +00:00
dependabot-preview[bot] a9e9654f0a
build(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases)
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.2...v0.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 11:20:37 +00:00
dependabot-preview[bot] 8ffd6a94e2
build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 11:22:03 +00:00
Steven Allen d14fdba1ef chore: update deps again
One final time.
2020-04-02 23:11:50 -07:00
Steven Allen 79f13c024f chore: update the rest of the deps 2020-04-02 17:04:28 -07:00
Will Scott ec2907ed95
disable write coalescing 2020-04-02 16:42:40 -07:00
dependabot-preview[bot] f8e12fcb8e
build(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases)
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 11:20:22 +00:00
dependabot-preview[bot] 82d957e31d
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.5 to 0.2.6
Bumps [github.com/libp2p/go-libp2p-yamux](https://github.com/libp2p/go-libp2p-yamux) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/libp2p/go-libp2p-yamux/releases)
- [Commits](https://github.com/libp2p/go-libp2p-yamux/compare/v0.2.5...v0.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 11:21:34 +00:00
Steven Allen 31e2e45f7f chore: update deps
* Update logging to fix logging on windows.
* Update autonat to improve filtering of potential AutoNAT peers.
2020-03-25 12:12:32 -07:00
Steven Allen aa30b1d124 fix: update goprocess to fix a test race 2020-03-24 14:23:42 -07:00
Steven Allen 1ce9b9980a chore(dep): update go-libp2p-peerstore
fixes psmem.Close()
2020-03-23 14:27:55 -07:00
Will Scott 3d4e8d8032
Merge branch 'master' of github.com:libp2p/go-libp2p into feat/autorelay 2020-03-20 16:45:56 -07:00
Will Scott 685ba00833
update to current autonat interface 2020-03-19 13:27:48 -07:00
Steven Allen 7b280dd74d chore: update yamux
On, final, time.
2020-03-18 21:31:43 -07:00
Will Scott dd87382dd4
update to latest autonat 2020-03-17 13:10:52 -07:00
Will Scott 8037ce2dca
generation of dialer host when needed 2020-03-17 11:29:36 -07:00
dependabot-preview[bot] 71e2d4ed5b
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.2 to 0.2.4
Bumps [github.com/libp2p/go-libp2p-yamux](https://github.com/libp2p/go-libp2p-yamux) from 0.2.2 to 0.2.4.
- [Release notes](https://github.com/libp2p/go-libp2p-yamux/releases)
- [Commits](https://github.com/libp2p/go-libp2p-yamux/compare/v0.2.2...v0.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-17 11:18:56 +00:00
Will Scott 1921bc20ae
autonat startup within libp2p config 2020-03-16 17:53:26 -07:00
Will Scott 8008b5d58f
update autorelay to remove dependence on autonat
instead, learns nat status through event bus
2020-03-16 16:11:23 -07:00
dependabot-preview[bot] ca57cf904e
build(deps): bump github.com/multiformats/go-multiaddr-net
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.2...v0.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-11 11:18:38 +00:00
Steven Allen 61634630e8
Merge pull request #833 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-mplex-0.2.2
build(deps): bump github.com/libp2p/go-libp2p-mplex from 0.2.1 to 0.2.2
2020-03-09 07:41:56 -07:00
dependabot-preview[bot] 241a61a246
build(deps): bump github.com/libp2p/go-libp2p-mplex from 0.2.1 to 0.2.2
Bumps [github.com/libp2p/go-libp2p-mplex](https://github.com/libp2p/go-libp2p-mplex) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-mplex/releases)
- [Commits](https://github.com/libp2p/go-libp2p-mplex/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 14:21:49 +00:00
Steven Allen 8a52e862ee
Merge pull request #832 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-yamux-0.2.2
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.1 to 0.2.2
2020-03-09 07:19:10 -07:00
dependabot-preview[bot] b5853020f8
build(deps): bump github.com/libp2p/go-libp2p-peerstore
Bumps [github.com/libp2p/go-libp2p-peerstore](https://github.com/libp2p/go-libp2p-peerstore) from 0.1.4 to 0.2.0.
- [Release notes](https://github.com/libp2p/go-libp2p-peerstore/releases)
- [Commits](https://github.com/libp2p/go-libp2p-peerstore/compare/v0.1.4...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 11:20:44 +00:00
dependabot-preview[bot] a3bbeef22e
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.1 to 0.2.2
Bumps [github.com/libp2p/go-libp2p-yamux](https://github.com/libp2p/go-libp2p-yamux) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/libp2p/go-libp2p-yamux/releases)
- [Commits](https://github.com/libp2p/go-libp2p-yamux/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 11:19:43 +00:00
Marten Seemann 68f9fd0e13 change PrivateNetwork to accept a PSK, update constructor magic 2020-03-06 18:41:16 -08:00
Steven Allen 7ba322244e emit identify events and avoid advertising localhost
* fix(identify): announce localhost as long as one side of the connection is local (#742)
* identify: emit events on completion/failure. (#660)
* identify: Update addr advertise logic to exclude localhost addrs… (#657)

This is a rollup of the stabilize fixes.

Co-authored-by: bigs <cole@protocol.ai>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2020-02-21 12:45:25 -05:00
dependabot-preview[bot] a8e8e9cdf8
build(deps): bump github.com/multiformats/go-multiaddr-net
Bumps [github.com/multiformats/go-multiaddr-net](https://github.com/multiformats/go-multiaddr-net) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/multiformats/go-multiaddr-net/releases)
- [Commits](https://github.com/multiformats/go-multiaddr-net/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 11:19:17 +00:00
Steven Allen 57f5617f79
Merge pull request #786 from libp2p/dependabot/go_modules/github.com/ipfs/go-cid-0.0.5
build(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
2020-02-05 07:24:22 -08:00
dependabot-preview[bot] f72dbb610d
build(deps): bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](https://github.com/ipfs/go-cid/compare/v0.0.4...v0.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:20:21 +00:00
dependabot-preview[bot] 67b82c6b3c
build(deps): bump github.com/multiformats/go-multistream
Bumps [github.com/multiformats/go-multistream](https://github.com/multiformats/go-multistream) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/multiformats/go-multistream/releases)
- [Commits](https://github.com/multiformats/go-multistream/compare/v0.1.0...v0.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:19:58 +00:00
Steven Allen 8d90b859ff chore(dep): update go-ws-transport
* Fixes a concurrent write/panic bug.
* Adds WASM support.
2019-12-17 13:09:33 +01:00
Steven Allen 4e33d72fac
Merge pull request #763 from libp2p/dependabot/go_modules/github.com/ipfs/go-cid-0.0.4
build(deps): bump github.com/ipfs/go-cid from 0.0.3 to 0.0.4
2019-12-17 12:35:34 +01:00
dependabot-preview[bot] ff532fae93
build(deps): bump github.com/libp2p/go-libp2p-core from 0.2.5 to 0.3.0
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.2.5...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 18:40:47 +00:00
Steven Allen 756a5984ff
Merge pull request #764 from libp2p/feat/recursive-dnsaddr
feat(host): recursively resolve addresses
2019-12-16 19:37:25 +01:00
Steven Allen e5d28696f5 feat(host): recursively resolve addresses
We currently only resolve /dnsaddr addresses once. This patch resolves up to 32
dnsaddr addresses per dial.

fixes https://github.com/libp2p/go-libp2p/issues/744
2019-12-16 15:53:51 +01:00
dependabot-preview[bot] 7d77f3ed7b
build(deps): bump github.com/ipfs/go-cid from 0.0.3 to 0.0.4
Bumps [github.com/ipfs/go-cid](https://github.com/ipfs/go-cid) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/ipfs/go-cid/releases)
- [Commits](https://github.com/ipfs/go-cid/compare/v0.0.3...v0.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 11:22:18 +00:00
dependabot-preview[bot] d347a08e6a
build(deps): bump github.com/multiformats/go-multiaddr
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.1.2 to 0.2.0.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases)
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.1.2...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-11 11:35:57 +00:00
dependabot-preview[bot] bea3a811a5
build(deps): bump github.com/libp2p/go-libp2p-discovery
Bumps [github.com/libp2p/go-libp2p-discovery](https://github.com/libp2p/go-libp2p-discovery) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/libp2p/go-libp2p-discovery/releases)
- [Commits](https://github.com/libp2p/go-libp2p-discovery/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 21:56:09 +00:00
Steven Allen 1b677020de
Merge pull request #752 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-core-0.2.5
build(deps): bump github.com/libp2p/go-libp2p-core from 0.2.4 to 0.2.5
2019-12-06 16:53:10 -05:00
Steven Allen 449f0b2157
Merge pull request #753 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.1.2
build(deps): bump github.com/multiformats/go-multiaddr from 0.1.1 to 0.1.2
2019-12-06 16:52:57 -05:00
dependabot-preview[bot] 2262669b6b
build(deps): bump github.com/libp2p/go-libp2p-testing
Bumps [github.com/libp2p/go-libp2p-testing](https://github.com/libp2p/go-libp2p-testing) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/libp2p/go-libp2p-testing/releases)
- [Commits](https://github.com/libp2p/go-libp2p-testing/compare/v0.1.0...v0.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 17:42:51 +00:00
dependabot-preview[bot] 8e6e4dfe4a
build(deps): bump github.com/multiformats/go-multiaddr
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases)
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.1.1...v0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 17:42:29 +00:00
dependabot-preview[bot] 3998fd0696
build(deps): bump github.com/libp2p/go-libp2p-core from 0.2.4 to 0.2.5
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/libp2p/go-libp2p-core/releases)
- [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.2.4...v0.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-06 17:42:05 +00:00
vyzo d65d0c4bf8 gomod: update go-libp2p-nat to v0.0.5 2019-11-21 20:36:57 +02:00
Steven Allen 94d7efc58e chore(dep): update libp2p-core and protobuf
* Enforces 2048 bit RSA keys when using OpenSSL
* Updates go-multiaddr-dns for /dns support.
* Update gogo/protobuf and regenerate all protobufs.
2019-10-28 16:41:54 -07:00
Steven Allen 1e889e1867 dep: update
final dep updates before a release
2019-09-25 11:31:45 -07:00
Steven Allen 1938505f5a dep: update go-multiaddr
for https://github.com/multiformats/go-multiaddr/issues/108
2019-09-18 23:02:37 -07:00
Steven Allen 2fc0af4c10 dep: update go-libp2p-circuit 2019-09-18 12:08:20 -07:00
Raúl Kripalani a3c39ad62a
dep: upgrade eventbus to v0.1.0 (#709) 2019-08-24 17:02:40 +02:00
Steven Allen 1edd9dd300 dep: update go-libp2p-swarm
Fixes a race condition when a user modifies the address list returned by InterfaceListenAddresses.
2019-08-21 11:03:23 -07:00
Cole Brown c385e71b52 Bump swarm version 2019-08-02 19:24:00 -04:00
Cole Brown 3e4400cc68 Bump secio 2019-08-02 19:02:59 -04:00
Cole Brown c261182d50 Adjust test timings for Ed25519 2019-08-02 18:05:59 -04:00
Cole Brown a80fc34f3a Update deps, mocknet tests 2019-08-02 18:05:59 -04:00
vyzo 46b5513add gomod: update go-libp2p-circuit 2019-08-02 21:12:51 +03:00
Steven Allen 554a8e7bed mdns: always use interface addresses
We don't want to use the transformed/munged host addresses for local
announcements. Ideally, we'd take a more scientific approach to this (i.e.,
"host, please give me addresses relative to X") but we can't do that yet.
2019-07-15 21:04:05 -07:00
Raúl Kripalani 4a8d3557c0 upgrade peerstore. 2019-07-10 15:54:09 +01:00
Steven Allen 58fa778c37 dep: update go-libp2p-swarm to be less noisy
The noisy tests are getting annoying.
2019-07-04 12:55:10 -07:00
Raúl Kripalani e69d17141c
integrate the event bus, handle protocol update events, make identify emit deltas (#659) 2019-06-24 14:44:47 +01:00
Steven Allen 0635f49abb fix: update to non-coalescing yamux 2019-05-31 20:36:29 -07:00
Raúl Kripalani d87f89314c
Consolidate abstractions and core types into go-libp2p-core (#601) 2019-05-26 22:55:46 +01:00
vyzo 6813fdd0d1 gomod: update go-ws-transport 2019-05-24 15:09:25 +03:00
vyzo 29d536740b gomod: update go-libp2p-circuit 2019-05-24 13:51:22 +03:00
vyzo d3fad322ee gomod: update go-libp2p-discovery 2019-05-24 12:40:38 +03:00
vyzo 6f25e76e56 gomod: update go-libp2p-circuit@v0.0.8 2019-05-22 20:55:20 +03:00
vyzo 58ac4c8110 gomod: update go-ws-transport 2019-05-22 11:57:05 +03:00
vyzo cad2c649ac gomod: update go-libp2p-autonat 2019-05-22 11:54:32 +03:00
Steven Allen 26f880b899 dep: import go-smux-* into the libp2p org
0. I imported whyrusleeping/go-smux-* into go mod.
1. To handle post-1.0 tags, I renamed all of our "gx" tags to "gx/v..." as we
   did with the rest of libp2p.
2. This broke _everything_ because `go mod` absolutely can't deal with deleted
   tags if any transitive go.sum file mentions the tag.
3. To fix this, I first got rid of all mentions of these 2.x+incompatible tags.
4. Unfortunately, I realized this was still going to be a nightmare for
   downstream users as a `go get github.com/libp2p/go-libp2p@latest` on a fresh
   clone (no go mod cache) would fail. I didn't want to have to explain to all
   of our downstream users "please delete your go.sum files!".
5. So I did what I should have done in the first place:
  a. I restored those tags.
  b. I forked all the whyrusleeping/go-smux-* repositories (and
     whyrusleeping/yamux) into the libp2p org where.
  c. I removed all tags but the _new_ go-mod tags on those new libp2p repos.

What does this mean for downstream users? If they manually import any of these
stream muxer repos, they'll have to fix their imports. Otherwise, it shouldn't
make a difference.
2019-05-21 19:44:12 -07:00
Steven Allen dea021f127 dep: update go-smux-*
And friends. Emergency release to handle some tags I deleted.
2019-05-21 16:51:55 -07:00
vyzo 946aa0e70d gomod: update go-mplex@v0.0.3 2019-05-22 00:20:09 +03:00
vyzo 661843a33b gomod: update go-libp2p-interface-connmgr 2019-05-21 14:02:37 +03:00
vyzo f3ed4cf7e8 gomod: update go-libp2p-peerstore@v0.0.6 2019-05-18 12:07:18 +03:00
vyzo fc6f373465 gomod: update go-libp2p-discovery 2019-05-17 22:04:29 +03:00
vyzo fb404b5c2a gomod: update go-mplex 2019-05-11 13:41:27 +03:00
Steven Allen 708d17c2d0 dep: update goprocess
fixes a panic and has a few more perf improvements
2019-05-09 15:18:35 -07:00
Steven Allen e8e29ddabc dep: update multihash, multiaddr, and peer
Also updates our base58 library.
2019-05-08 14:38:23 -07:00
vyzo d8fed21c5d gomod: update go-multistream 2019-05-08 20:11:05 +03:00
Steven Allen 643b9acbb7
Merge pull request #625 from libp2p/dep/update-goprocess
dep: update goprocess
2019-05-07 15:17:26 -07:00
Steven Allen 26fe9dc6c9 dep: update goprocess
1. It now supports go modules.
2. It should spawn fewer goroutines, especially when used with contexts.
2019-05-07 15:09:13 -07:00
vyzo b5b6230ded gomod: update go-libp2p-circuit 2019-05-07 22:39:38 +03:00
vyzo a1bae0a3ef gomod: update go-libp2p-host, go-libp2p-interface-connmgr 2019-05-06 15:16:00 +03:00
vyzo afd88c4dce gomod: update go-libp2p-crypto 2019-05-03 22:30:20 +03:00
vyzo b481650dbc gomod: update go-libp2p-circuit 2019-05-02 19:34:42 +03:00
vyzo 273a5f2a9d update go-multistream 2019-04-30 19:04:50 +03:00
Steven Allen 621aa0da19 dep: update peerstore and secio
Pull in a panic fix and a fix for https://github.com/libp2p/go-mplex/issues/43
2019-04-28 12:44:50 -07:00
vyzo 8e2547048f gomod: update go-libp2p-peerstore 2019-04-28 10:38:49 +03:00
Steven Allen eeac0bb952 update upgraders to maybe fix a concurrent connection write issue 2019-04-26 01:40:19 -07:00
vyzo 5f198db75d gomod: update go-libp2p-swarm, go-libp2p-peerstore 2019-04-25 20:11:36 +03:00
Steven Allen 330481f135 dep: update secio 2019-04-22 09:46:24 -07:00
vyzo 8d2457577d gomod: update go-libp2p-discovery 2019-04-16 10:45:57 +03:00
vyzo e2acda1c42 gomod: update go-libp2p-peerstore 2019-04-12 20:59:41 +03:00
Steven Allen ef92f67df6 dep: update go-libp2p-nat again
This time, don't try to map the same internal/external port. Random ports are
safer as not all NAT devices can handle port conflicts...
2019-04-12 10:29:02 -07:00
vyzo b94e2ce8f3 gomod: update go-libp2p-circuit 2019-04-12 10:52:17 +03:00
Steven Allen 2c33dc34ac dep: update go-libp2p-nat
Switches to libp2p/go-nat which has some improved gateway detection logic.
2019-04-11 22:13:02 -07:00
vyzo 25adea6d56 gomod: update go-libp2p-net, go-libp2p-swarm, and go-libp2p-circuit 2019-04-10 23:09:17 +03:00
vyzo 2bd14ad185 update go-libp2p-autonat 2019-04-10 10:42:16 +03:00
vyzo 9bb06fcb2a gomod: update go-libp2p-circuit 2019-04-08 19:07:47 +03:00
Steven Allen 2a8398b05f dep: update transports 2019-04-04 00:47:38 -07:00
vyzo b33e731689 gomod: update go-libp2p-autonat 2019-04-04 10:19:25 +03:00
vyzo eb20b61a6d update go-smux-yamux 2019-03-07 13:43:17 +02:00
Steven Allen 3617750071 better nat mapping
1. Update to work with https://github.com/libp2p/go-libp2p-nat/pull/14.
2. Avoid observed addrs when our NAT tells us about external addrs.
3. Ignore bad addrs reported by our NAT. Substitute with observed addrs.
4. Fix https://github.com/libp2p/go-libp2p/issues/428.
2019-03-06 10:56:49 -08:00
Steven Allen d0ce3e1bac dep: update autonat 2019-03-06 10:54:27 -08:00
Raúl Kripalani c4b498537c add gomod support // tag v0.0.1. 2019-03-02 00:13:40 +00:00