Steven Allen
da772d14b4
Merge pull request #476 from libp2p/fix/473
...
mocknet: use peer ID in peer address
2018-11-08 10:49:19 -08:00
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
2018-11-07 15:42:29 -08:00
vyzo
3e2dc09212
Merge pull request #454 from libp2p/feat/autorelay
...
autorelay
2018-11-06 10:03:21 +02:00
vyzo
a309f09606
Add note to relay docs about internal interface instability
2018-11-06 09:50:25 +02:00
vyzo
4cb5d00e2c
gx update
2018-11-04 10:56:05 +02:00
vyzo
5a1c09c4af
use advertised addrs for autonat dial back, not all addrs
2018-11-04 10:52:29 +02:00
vyzo
5d8988f3ee
add comment about the unstable nature of BasicHost.PushIdentify
2018-11-04 10:52:29 +02:00
vyzo
69144bd78b
extend autorelay test to verify pushing of relay addrs
...
also check that we don't initially advertise any.
2018-11-04 10:52:29 +02:00
vyzo
0dfca3ba5d
increase test AutoNATIdentifyDelay to 100ms
...
macosx seems to fail intermittently, and that race is the likely culprit.
2018-11-04 10:52:29 +02:00
vyzo
7b324b14b5
remove BasicRouting interface; use PeerRouting and upcast for discovery
2018-11-04 10:52:29 +02:00
vyzo
c2d846a7c3
fix go vet issue
2018-11-04 10:52:29 +02:00
vyzo
292b8a1280
update gx deps
2018-11-04 10:52:29 +02:00
vyzo
fdfa224699
document doUpdateAddrs
2018-11-04 10:52:29 +02:00
vyzo
4be7ada37b
tag relay connections
2018-11-04 10:52:29 +02:00
vyzo
e96605d1a3
use /p2p multiaddr
2018-11-04 10:52:29 +02:00
vyzo
84400e22f2
fix typo
2018-11-04 10:52:29 +02:00
vyzo
4f90393629
add a comment
2018-11-04 10:52:29 +02:00
vyzo
67aba4d501
move relay selection strategy out of line
2018-11-04 10:52:29 +02:00
vyzo
cc2dd22028
make randezvous key a constant
2018-11-04 10:52:29 +02:00
vyzo
2993fd9a68
add autorelay documentation
2018-11-04 10:52:29 +02:00
vyzo
a7e1bf0f15
call the routing interface BasicRouting, alias to top level type
2018-11-04 10:52:29 +02:00
vyzo
89aef893e6
don't adveretise unspecific relay addrs in RelayHost
2018-11-04 10:52:29 +02:00
vyzo
dcb8fd2813
fix inverted address selection logic in test
2018-11-04 10:52:29 +02:00
vyzo
ee69383c2c
extend autorelay test to verify connectivity
2018-11-04 10:52:29 +02:00
vyzo
b62c83bd5c
better limit adjustment for relay discovery
2018-11-04 10:52:29 +02:00
vyzo
8faf5403c5
fix typo
2018-11-04 10:52:29 +02:00
vyzo
8d108dddcb
import go-libp2p-discovery and go-libp2p-autonat
2018-11-04 10:52:29 +02:00
vyzo
f6c38c9d91
filter unspecific relay address
2018-11-04 10:52:29 +02:00
vyzo
c6d1eebf15
autorelay test
2018-11-04 10:52:29 +02:00
vyzo
7fabe39290
parallel identify push
2018-11-04 10:52:29 +02:00
vyzo
477c19aac1
reduce boot delay to 60s
2018-11-04 10:52:29 +02:00
vyzo
0ff7393349
fix announced relay address
2018-11-04 10:52:29 +02:00
vyzo
6bdfcac0b4
use AllAddrs as the address factory in autonat
2018-11-04 10:52:29 +02:00
vyzo
d24fe6ae91
update libp2p.New constructor to construct relayed/routed hosts
2018-11-04 10:52:29 +02:00
vyzo
5c623f269f
name the autorelay logger as such
2018-11-04 10:52:29 +02:00
vyzo
9795a01ba3
configurable boot delay for autorelay
2018-11-04 10:52:29 +02:00
vyzo
a5858912d6
autorelay hosts
2018-11-04 10:52:29 +02:00
vyzo
a89e74a155
basic host: export AddrsFactory, provide method to push identify
2018-11-04 10:52:29 +02:00
vyzo
4ea04c23b3
identify: implement identify push protocol
2018-11-04 10:52:29 +02:00
Steven Allen
2b6c3a228e
gx publish 6.0.26
2018-11-02 21:11:37 -07:00
Steven Allen
43636e4e28
gx publish 6.0.25
2018-11-02 18:06:44 -07:00
Steven Allen
5904fabec1
gx publish 6.0.24
2018-11-02 16:51:20 -07:00
Steven Allen
9356373d00
gx publish 6.0.23
2018-10-24 14:56:21 -07:00
Steven Allen
f6dce9ab90
gx publish 6.0.22
2018-10-24 13:00:46 -07:00
Steven Allen
91514ce02b
Merge pull request #465 from libp2p/fix/mock-race-really
...
*really* fix the race in mock
2018-10-24 13:00:21 -07:00
Steven Allen
80c5998236
*really* fix the race in mock
2018-10-24 12:58:51 -07:00
Steven Allen
8af9bc6228
gx publish 6.0.21
2018-10-24 12:45:56 -07:00
Steven Allen
1e38b9ef15
Merge pull request #464 from libp2p/fix/mock-race
...
fix a data-race in the mock net
2018-10-24 12:45:35 -07:00
Steven Allen
841a6272c6
fix a data-race in the mock net
...
This was causing https://github.com/ipfs/go-ipfs/pull/5637#issuecomment-432792969
2018-10-24 12:41:12 -07:00
Steven Allen
f046774e0a
gx publish 6.0.20
2018-10-24 09:47:07 -07:00