Commit Graph

1299 Commits

Author SHA1 Message Date
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 535e8b8a7d
Merge pull request #641 from libp2p/dep/update-go-multiplexers
dep: update go-smux-*
2019-05-21 17:12:10 -07:00
Steven Allen 97d03a46b4 test: add a small delay to deal with write coalescing 2019-05-21 17:08:35 -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 2cd90b84b3
Merge pull request #639 from libp2p/feat/connmgr-close
Close the connection manager
2019-05-21 14:15:10 +03:00
vyzo 3437213b5f close connection manager 2019-05-21 14:03:28 +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 61de4e80fe
Merge pull request #637 from libp2p/feat/frequent-relay-advertisement
Frequent Relay Advertisements
2019-05-17 22:17:07 +03:00
vyzo 70c4f155e7 advertise for relay services every 30min 2019-05-17 22:14:16 +03:00
vyzo 0a221500fd update use of discovery.FindPeers for new interface 2019-05-17 22:05:57 +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 aedbb9caa4
Merge pull request #632 from libp2p/fix/goprocess-panic
dep: update goprocess
2019-05-09 15:21:56 -07: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 df15b5b6ca
Merge pull request #629 from libp2p/dep/update-maddr-peer
dep: update multihash, multiaddr, and peer
2019-05-08 14:50:59 -07:00
Steven Allen e8e29ddabc dep: update multihash, multiaddr, and peer
Also updates our base58 library.
2019-05-08 14:38:23 -07:00
Steven Allen 95cc0beda9
Merge pull request #626 from libp2p/fix/ping
ping: return a stream of results
2019-05-08 14:01:01 -07:00
vyzo d8fed21c5d gomod: update go-multistream 2019-05-08 20:11:05 +03:00
Steven Allen 09f775fd11
Merge pull request #627 from libp2p/test/disable-flaky-autorelay-test
test: disable flaky autorelay test in CI
2019-05-07 16:31:12 -07:00
Steven Allen 1b9cf3e2cb test: disable flaky autorelay test in CI
This keeps breaking travis.
2019-05-07 15:53:37 -07:00
Steven Allen d0ab45164c ping: simplify ping loop 2019-05-07 15:47:55 -07:00
Steven Allen d3d5351d81 ping: return a stream of results
Otherwise, we can't return errors. This is a breaking change but unlikely to
have a large impact on anyone but go-ipfs.

Part of https://github.com/ipfs/go-ipfs/issues/6298
2019-05-07 15:47:52 -07: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
Steven Allen 471b72f839
Merge pull request #624 from libp2p/fix/identify-context
Use cancelable background context in identify
2019-05-07 11:58:21 -07:00
vyzo b8616c65b3 use cancelable background context in identify 2019-05-07 21:33:19 +03:00
vyzo a1bae0a3ef gomod: update go-libp2p-host, go-libp2p-interface-connmgr 2019-05-06 15:16:00 +03:00
vyzo 52f3a0a2c1
Merge pull request #622 from libp2p/gomod/update
gomod: update go-libp2p-crypto
2019-05-03 23:03:13 +03:00
vyzo afd88c4dce gomod: update go-libp2p-crypto 2019-05-03 22:30:20 +03:00
vyzo bd0f8953cf
Merge pull request #619 from libp2p/gomod/update
gomod: update go-libp2p-circuit
2019-05-02 19:38:31 +03:00
vyzo b481650dbc gomod: update go-libp2p-circuit 2019-05-02 19:34:42 +03:00
vyzo 40db2ab244
Merge pull request #616 from libp2p/gomod/update
update go-multistream
2019-04-30 19:08:42 +03:00
vyzo 273a5f2a9d update go-multistream 2019-04-30 19:04:50 +03:00
Steven Allen d6f75224eb
Merge pull request #615 from libp2p/dep/update-pstore-secio
dep: update peerstore and secio
2019-04-28 12:48:44 -07: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 31efed7dc9
Merge pull request #614 from libp2p/gomod/update
gomod: update go-libp2p-peerstore
2019-04-28 10:44:43 +03:00
vyzo 8e2547048f gomod: update go-libp2p-peerstore 2019-04-28 10:38:49 +03:00
Steven Allen 7c26d606ae
Merge pull request #611 from libp2p/dep/maybe-fix-concurrent-write
update upgraders to maybe fix a concurrent connection write issue
2019-04-26 01:48:19 -07:00
Steven Allen eeac0bb952 update upgraders to maybe fix a concurrent connection write issue 2019-04-26 01:40:19 -07:00
vyzo b7574d2c37
Merge pull request #610 from libp2p/gomod/update
gomod: update go-libp2p-swarm, go-libp2p-peerstore
2019-04-25 20:16:58 +03:00
vyzo 5f198db75d gomod: update go-libp2p-swarm, go-libp2p-peerstore 2019-04-25 20:11:36 +03:00
Steven Allen e63ff38c3d
Merge pull request #609 from libp2p/fix/avoid-allocation
avoid intermediate allocation in relayAddrs
2019-04-22 10:51:53 -07:00
vyzo ba00011d34 avoid intermediate allocation in relayAddrs
now that we have the lock for the duration of the method, we don't need the intermediate
relays array. This removes it, and also extends the pre-allocation of the result array
by 2 so that it can cover two localhost and two private address bindings.
2019-04-22 20:26:02 +03:00
Steven Allen 48800a6aca
Merge pull request #608 from libp2p/feat/cache-relay-addrs
cache relayAddrs for a short period of time
2019-04-22 10:04:18 -07:00
Steven Allen 699dd41f41
Merge pull request #607 from libp2p/dep/update-secio
dep: update secio
2019-04-22 10:01:56 -07:00
vyzo 97f1e71e86 cache relayAddrs for a short period of time 2019-04-22 19:48:01 +03:00
Steven Allen 330481f135 dep: update secio 2019-04-22 09:46:24 -07:00