Will Scott
e55690c428
Merge branch 'master' of github.com:libp2p/go-libp2p into feat/autorelay
5 years ago
Will Scott
69b16483fd
properly filter nat addresses
5 years ago
Will Scott
8037ce2dca
generation of dialer host when needed
5 years ago
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>
5 years ago
Will Scott
1921bc20ae
autonat startup within libp2p config
5 years ago
Will Scott
8008b5d58f
update autorelay to remove dependence on autonat
instead, learns nat status through event bus
5 years ago
Steven Allen
463fa2a0dc
Merge pull request #838 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.3
build(deps): bump github.com/multiformats/go-multiaddr-net from 0.1.2 to 0.1.3
5 years ago
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>
5 years ago
Will Scott
89c193e0ca
Merge branch 'master' into feat/autorelay
5 years ago
Steven Allen
9ad477ba8b
Merge pull request #836 from libp2p/feat/reliable-mock-notif
feat(mock): reliable notifications
5 years ago
Steven Allen
5f75aa2068
feat(mock): reliable notifications
* Export StreamComplement/ConnComplement convenience functions.
* Make the TestNotifications test pass reliably, even when we have a bunch of
streams (identify, etc.).
* Make the mock net order disconnect events after connect events.
* Make closing one side of a connection actually close both sides.
* Make it possible to extract a mock stream's complement.
* Fire remote events at the same time as the local events.
5 years ago
Steven Allen
4bbf43e8b2
Merge pull request #835 from libp2p/fix/autorelay-doc
doc(options): fix autorelay documentation
5 years ago
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
5 years ago
Steven Allen
8248da96b0
doc(options): fix autorelay documentation
Routing is only required for autorelay when no static relays are configured.
5 years ago
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>
5 years ago
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
5 years ago
Steven Allen
15fa3033c5
Merge pull request #834 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-peerstore-0.2.0
build(deps): bump github.com/libp2p/go-libp2p-peerstore from 0.1.4 to 0.2.0
5 years ago
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>
5 years ago
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>
5 years ago
Steven Allen
e641f58681
Merge pull request #817 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-0.2.1
build(deps): bump github.com/multiformats/go-multiaddr from 0.2.0 to 0.2.1
5 years ago
Steven Allen
34e69d491c
Merge pull request #796 from libp2p/generalize-private-network
change PrivateNetwork to accept a PSK, update constructor magic
5 years ago
Steven Allen
cd4c6d3d11
Merge pull request #827 from libp2p/update-readme
docs: Update the README
5 years ago
Steven Allen
4ccf017104
Merge pull request #820 from libp2p/fix/remove-goroutine
fix: remove an unnecessary goroutine
5 years ago
Steven Allen
d6d2081971
Merge pull request #810 from libp2p/fix/relays-without-content-routing
EnableAutoRelay should work without ContentRouting if there are StaticRelays defined
5 years ago
Marten Seemann
68f9fd0e13
change PrivateNetwork to accept a PSK, update constructor magic
5 years ago
Steven Allen
ebb9cb8af1
Merge pull request #815 from Wondertan/fix/reset-error
Use of mux.ErrReset in mocknet
5 years ago
Will Scott
0458b76abb
update to changed event structure
5 years ago
Steven Allen
5a6c36d346
Merge pull request #826 from vasco-santos/docs/uniform
docs: uniform comment sentences
5 years ago
David Dias
969eedc98f
docs: remove note to non cancelled dev calls
5 years ago
David Dias
b55baf18e9
docs: remove deprecated packages
5 years ago
Vasco Santos
fe2c13c71b
docs: uniform comment sentences
5 years ago
Steven Allen
6cdc404180
fix: remove an unnecessary goroutine
The stream handler runs in a goroutine anyways. We might as well block it.
5 years ago
dependabot-preview[bot]
6b1179649f
build(deps): bump github.com/multiformats/go-multiaddr
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases )
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.2.0...v0.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Hlib
5e30cdeaac
use of mux.ErrReset
5 years ago
Adin Schmahmann
78ca1bf57c
fix: can enable autorelay without content routing as long as there are static relays configured
5 years ago
Will Scott
85a83edf80
defer subscription closes
5 years ago
Will Scott
f5386bdf79
autorelay triggers on NAT events
better use of the event bus between these two
5 years ago
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>
5 years ago
Steven Allen
46a1b0f8ad
Merge pull request #788 from libp2p/dependabot/go_modules/github.com/multiformats/go-multiaddr-net-0.1.2
build(deps): bump github.com/multiformats/go-multiaddr-net from 0.1.1 to 0.1.2
5 years ago
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>
5 years ago
Steven Allen
9ee9d94ea2
chore(ci): fix a flaky test ( #787 )
Timing tests never work well in CI.
5 years ago
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
5 years ago
Steven Allen
520d9c712c
Merge pull request #785 from libp2p/dependabot/go_modules/github.com/multiformats/go-multistream-0.1.1
build(deps): bump github.com/multiformats/go-multistream from 0.1.0 to 0.1.1
5 years ago
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>
5 years ago
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>
5 years ago
Steven Allen
76944c4fc8
Merge pull request #705 from libp2p/feat/static-relays
options to configure static relays for autorelay
5 years ago
Steven Allen
c615fa0b2a
Merge pull request #771 from optman/fix-port-mapping
enable non-public address port mapping announcement
5 years ago
optman
3f43dfe646
enable non-public address port mapping announcement
5 years ago
Steven Allen
28d32bb067
Merge pull request #768 from libp2p/fix/log-spam
fix: demote stream deadline errors to debug logs
5 years ago
Steven Allen
9073eaaf8f
fix: demote stream deadline errors to debug logs
Otherwise, we spam an error every time we try to negotiate a protocol on a
closed stream (e.g., when the underlying connection closes on us).
5 years ago