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
Steven Allen
6a74328ec5
Merge pull request #462 from libp2p/fix/no-custom-field
...
switch to DisablePing instead of PingCustom
2018-10-24 08:59:05 -07:00
Steven Allen
30e4db2415
Merge pull request #463 from libp2p/fix/basic-host-test
...
fix buggy addr equal in test
2018-10-24 08:45:45 -07:00
Steven Allen
63256192d7
fix buggy addr equal in test
2018-10-24 08:44:26 -07:00
Steven Allen
d59ca83d48
switch to DisablePing instead of PingCustom
2018-10-24 07:44:25 -07:00
Steven Allen
7eaeeaa9fe
Merge pull request #461 from libp2p/fix/remove-protocol-version-check
...
don't disconnect on protocol version mismatch
2018-10-24 07:35:23 -07:00
Steven Allen
dd7868a1a7
don't disconnect on protocol version mismatch
...
Sending a protocol version is nice. However, this "disconnect if our versions
are different" logic makes the version entirely useless (because we can't change
it).
Really, each indevidual protocol is versioned so let's just leave it at that. If
we make a breaking change that requires a protocol bump, we can do that and
then switch on the other side's version. However, we'll have to wait for the
entire network to upgrade for that to work.
2018-10-24 07:00:42 -07:00
vyzo
ddd5604b14
Merge pull request #458 from libp2p/feat/ping
...
Add ping service in basic host and libp2p constructor option (enabled by default)
2018-10-23 12:33:07 +03:00
vyzo
48e0effd6a
resolve import cycle in ping test
2018-10-19 12:47:08 +03:00