Abhishek Upperwal
962dc057e6
Merge pull request #4 from libp2p/master
pulling updates
6 years ago
vyzo
31eb77d446
add delay in initial relay advertisement to allow the dht time to bootstrap
6 years ago
Steven Allen
14fad346b7
Merge pull request #494 from libp2p/fix-contributing-link
fix contributing link in README
6 years ago
Marten Seemann
d76db1d65d
fix contributing link in README
6 years ago
David Dias
e15828972d
docs: libp2p yellow
6 years ago
Raúl Kripalani
4341acb1b1
Merge pull request #485 from libp2p/fix-readme
Fix badges and links on README.md
6 years ago
Raúl Kripalani
388a294578
Fix badges and links on README.md
6 years ago
Steven Allen
69ff94d8cf
Merge pull request #481 from libp2p/gx/update-kque0y
gx publish 6.0.27
6 years ago
hannahhoward
f7df58532f
gx publish 6.0.27
6 years ago
Steven Allen
053f59e053
Merge pull request #480 from libp2p/fix/mock-connect
mocknet: fix NewStream and self dials
6 years ago
Steven Allen
3fa06e6971
Merge pull request #479 from libp2p/fix/478
deflake identify test
6 years ago
Steven Allen
79ba610d21
mocknet: create a connection on NewStream if we need one
That's what the Swarm does and that's what the function's documentation says it
does.
6 years ago
Steven Allen
a8e25bf270
mocknet: refuse to connect to self
The swarm does this as well and most of our services will fail if we don't have
this.
6 years ago
Steven Allen
00ba6a165a
deflake identify test
This was probably failing (rarely) due to the fact that we're shrinking the
timeout asynchronously (I think?).
6 years ago
Steven Allen
da772d14b4
Merge pull request #476 from libp2p/fix/473
mocknet: use peer ID in peer address
6 years ago
Steven Allen
f4229470cb
mocknet: use peer ID in peer address
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
6 years ago
vyzo
3e2dc09212
Merge pull request #454 from libp2p/feat/autorelay
autorelay
6 years ago
vyzo
a309f09606
Add note to relay docs about internal interface instability
6 years ago
vyzo
4cb5d00e2c
gx update
6 years ago
vyzo
5a1c09c4af
use advertised addrs for autonat dial back, not all addrs
6 years ago
vyzo
5d8988f3ee
add comment about the unstable nature of BasicHost.PushIdentify
6 years ago
vyzo
69144bd78b
extend autorelay test to verify pushing of relay addrs
also check that we don't initially advertise any.
6 years ago
vyzo
0dfca3ba5d
increase test AutoNATIdentifyDelay to 100ms
macosx seems to fail intermittently, and that race is the likely culprit.
6 years ago
vyzo
7b324b14b5
remove BasicRouting interface; use PeerRouting and upcast for discovery
6 years ago
vyzo
c2d846a7c3
fix go vet issue
6 years ago
vyzo
292b8a1280
update gx deps
6 years ago
vyzo
fdfa224699
document doUpdateAddrs
6 years ago
vyzo
4be7ada37b
tag relay connections
6 years ago
vyzo
e96605d1a3
use /p2p multiaddr
6 years ago
vyzo
84400e22f2
fix typo
6 years ago
vyzo
4f90393629
add a comment
6 years ago
vyzo
67aba4d501
move relay selection strategy out of line
6 years ago
vyzo
cc2dd22028
make randezvous key a constant
6 years ago
vyzo
2993fd9a68
add autorelay documentation
6 years ago
vyzo
a7e1bf0f15
call the routing interface BasicRouting, alias to top level type
6 years ago
vyzo
89aef893e6
don't adveretise unspecific relay addrs in RelayHost
6 years ago
vyzo
dcb8fd2813
fix inverted address selection logic in test
6 years ago
vyzo
ee69383c2c
extend autorelay test to verify connectivity
6 years ago
vyzo
b62c83bd5c
better limit adjustment for relay discovery
6 years ago
vyzo
8faf5403c5
fix typo
6 years ago
vyzo
8d108dddcb
import go-libp2p-discovery and go-libp2p-autonat
6 years ago
vyzo
f6c38c9d91
filter unspecific relay address
6 years ago
vyzo
c6d1eebf15
autorelay test
6 years ago
vyzo
7fabe39290
parallel identify push
6 years ago
vyzo
477c19aac1
reduce boot delay to 60s
6 years ago
vyzo
0ff7393349
fix announced relay address
6 years ago
vyzo
6bdfcac0b4
use AllAddrs as the address factory in autonat
6 years ago
vyzo
d24fe6ae91
update libp2p.New constructor to construct relayed/routed hosts
6 years ago
vyzo
5c623f269f
name the autorelay logger as such
6 years ago
vyzo
9795a01ba3
configurable boot delay for autorelay
6 years ago