Steven Allen
6e97b5d817
Merge pull request #851 from libp2p/feat/848
Signal address change
5 years ago
Steven Allen
aa30b1d124
fix: update goprocess to fix a test race
5 years ago
Aarsh Shah
e17a6f8bf2
remove lastaddrs as member variable
5 years ago
Aarsh Shah
fa575b4d32
changes as per review
5 years ago
Aarsh Shah
82be3ee46f
signal address change
5 years ago
Steven Allen
1425d551c2
Merge pull request #850 from libp2p/fix/mock-tests
fix multiple issues in the mock tests
5 years ago
Steven Allen
1ce9b9980a
chore(dep): update go-libp2p-peerstore
fixes psmem.Close()
5 years ago
Steven Allen
c99a5bfa25
test(mock): close the mocknet when fuzzing
5 years ago
Steven Allen
29b355faaa
fix(mock): close the mocknet's peerstore
5 years ago
Steven Allen
5403811df9
fix: make sure to close the mocknet's context when canceled
5 years ago
Steven Allen
223cd42251
fix(mock): wait till we add the connection to set it up
Otherwise, we can try to remove it before we add it and panic.
5 years ago
Steven Allen
22232e0d6d
fix(mock): fire disconnect notifications async like we do in the swarm
5 years ago
Steven Allen
3f7e86bda9
Merge pull request #849 from libp2p/fix/minimal-autonat-dialer
fix: minimal autonat dialer
5 years ago
Steven Allen
891bba6566
fix: minimal autonat dialer
Currently, the AutoNAT dialer spins up a full host with identify, ping, etc.
this switches to a blankhost.
This also avoids running a relay, listening on transports, etc (regression).
5 years ago
Steven Allen
718364b60a
Merge pull request #807 from libp2p/feat/autorelay
Trigger Autorelay on NAT events
5 years ago
Will Scott
3d4e8d8032
Merge branch 'master' of github.com:libp2p/go-libp2p into feat/autorelay
5 years ago
Aarsh Shah
611e5ab185
Merge pull request #847 from libp2p/feat/local-addrupdated-evt
Local addr updated event
5 years ago
Aarsh Shah
d49806efc9
emit address change evt
5 years ago
Will Scott
685ba00833
update to current autonat interface
5 years ago
Aarsh Shah
ed4646f711
local addr updated event
5 years ago
Steven Allen
76c1f95caa
Merge pull request #846 from libp2p/chore/dep-update
chore: update yamux
5 years ago
Steven Allen
7b280dd74d
chore: update yamux
On, final, time.
5 years ago
Steven Allen
891aeda705
Merge pull request #843 from libp2p/dependabot/go_modules/github.com/libp2p/go-libp2p-yamux-0.2.4
build(deps): bump github.com/libp2p/go-libp2p-yamux from 0.2.2 to 0.2.4
5 years ago
Will Scott
dd87382dd4
update to latest autonat
5 years ago
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