Steven Allen
aedbb9caa4
Merge pull request #632 from libp2p/fix/goprocess-panic
dep: update goprocess
6 years ago
Steven Allen
708d17c2d0
dep: update goprocess
fixes a panic and has a few more perf improvements
6 years ago
Steven Allen
df15b5b6ca
Merge pull request #629 from libp2p/dep/update-maddr-peer
dep: update multihash, multiaddr, and peer
6 years ago
Steven Allen
e8e29ddabc
dep: update multihash, multiaddr, and peer
Also updates our base58 library.
6 years ago
Steven Allen
95cc0beda9
Merge pull request #626 from libp2p/fix/ping
ping: return a stream of results
6 years ago
vyzo
d8fed21c5d
gomod: update go-multistream
6 years ago
Steven Allen
09f775fd11
Merge pull request #627 from libp2p/test/disable-flaky-autorelay-test
test: disable flaky autorelay test in CI
6 years ago
Steven Allen
1b9cf3e2cb
test: disable flaky autorelay test in CI
This keeps breaking travis.
6 years ago
Steven Allen
d0ab45164c
ping: simplify ping loop
6 years ago
Steven Allen
d3d5351d81
ping: return a stream of results
Otherwise, we can't return errors. This is a breaking change but unlikely to
have a large impact on anyone but go-ipfs.
Part of https://github.com/ipfs/go-ipfs/issues/6298
6 years ago
Steven Allen
643b9acbb7
Merge pull request #625 from libp2p/dep/update-goprocess
dep: update goprocess
6 years ago
Steven Allen
26fe9dc6c9
dep: update goprocess
1. It now supports go modules.
2. It should spawn fewer goroutines, especially when used with contexts.
6 years ago
vyzo
b5b6230ded
gomod: update go-libp2p-circuit
6 years ago
Steven Allen
471b72f839
Merge pull request #624 from libp2p/fix/identify-context
Use cancelable background context in identify
6 years ago
vyzo
b8616c65b3
use cancelable background context in identify
6 years ago
vyzo
a1bae0a3ef
gomod: update go-libp2p-host, go-libp2p-interface-connmgr
6 years ago
vyzo
52f3a0a2c1
Merge pull request #622 from libp2p/gomod/update
gomod: update go-libp2p-crypto
6 years ago
vyzo
afd88c4dce
gomod: update go-libp2p-crypto
6 years ago
vyzo
bd0f8953cf
Merge pull request #619 from libp2p/gomod/update
gomod: update go-libp2p-circuit
6 years ago
vyzo
b481650dbc
gomod: update go-libp2p-circuit
6 years ago
vyzo
40db2ab244
Merge pull request #616 from libp2p/gomod/update
update go-multistream
6 years ago
vyzo
273a5f2a9d
update go-multistream
6 years ago
Steven Allen
d6f75224eb
Merge pull request #615 from libp2p/dep/update-pstore-secio
dep: update peerstore and secio
6 years ago
Steven Allen
621aa0da19
dep: update peerstore and secio
Pull in a panic fix and a fix for https://github.com/libp2p/go-mplex/issues/43
6 years ago
vyzo
31efed7dc9
Merge pull request #614 from libp2p/gomod/update
gomod: update go-libp2p-peerstore
6 years ago
vyzo
8e2547048f
gomod: update go-libp2p-peerstore
6 years ago
Steven Allen
7c26d606ae
Merge pull request #611 from libp2p/dep/maybe-fix-concurrent-write
update upgraders to maybe fix a concurrent connection write issue
6 years ago
Steven Allen
eeac0bb952
update upgraders to maybe fix a concurrent connection write issue
6 years ago
vyzo
b7574d2c37
Merge pull request #610 from libp2p/gomod/update
gomod: update go-libp2p-swarm, go-libp2p-peerstore
6 years ago
vyzo
5f198db75d
gomod: update go-libp2p-swarm, go-libp2p-peerstore
6 years ago
Steven Allen
e63ff38c3d
Merge pull request #609 from libp2p/fix/avoid-allocation
avoid intermediate allocation in relayAddrs
6 years ago
vyzo
ba00011d34
avoid intermediate allocation in relayAddrs
now that we have the lock for the duration of the method, we don't need the intermediate
relays array. This removes it, and also extends the pre-allocation of the result array
by 2 so that it can cover two localhost and two private address bindings.
6 years ago
Steven Allen
48800a6aca
Merge pull request #608 from libp2p/feat/cache-relay-addrs
cache relayAddrs for a short period of time
6 years ago
Steven Allen
699dd41f41
Merge pull request #607 from libp2p/dep/update-secio
dep: update secio
6 years ago
vyzo
97f1e71e86
cache relayAddrs for a short period of time
6 years ago
Steven Allen
330481f135
dep: update secio
6 years ago
Steven Allen
475283d402
Merge pull request #606 from libp2p/chore/cleanup-autorelay
autorelay: break findRelays into multiple functions and avoid the goto
6 years ago
vyzo
abfb4c8901
fix bug in findRelaysOnce: it connects to all relays
6 years ago
Steven Allen
776a53a370
autorelay: break findRelays into multiple functions and avoid the goto
(@stebalien is picky and opinionated...)
6 years ago
Steven Allen
9fc5c962b6
Merge pull request #598 from libp2p/feat/moar-relays
autorelay: curtail addrsplosion
6 years ago
vyzo
8d073cec9e
kill the parallel query logic in selectRelays; let it be random
the presence of stashed query results from discovery in the peerstore _biases_ the
selection towards fully DHT nodes, which penalizes dedicated relays.
6 years ago
vyzo
35e805dc41
add ignore list to account for connection failures
6 years ago
vyzo
4629431a12
some tweaks
- select 25 of 50 relays instead of 20
- increase connect timeout to 30s
6 years ago
vyzo
f9e182f747
gate max number of retries in findRelays
6 years ago
vyzo
1a8111970b
reduce scope of the lock, pre-allocate result slice in relayAddrs
6 years ago
vyzo
5c9299a45c
pacify the race detector
6 years ago
vyzo
4727d5b849
don't preallocate result array, we don't know how long it will be
6 years ago
vyzo
c09717275b
compute relay address set dynamically
6 years ago
vyzo
f4f924e1d4
don't track relay addrs, use the peerstore
6 years ago
vyzo
bd22c49b0d
remove redundant private addr check when constructing our relay address set
findRelays cleans up address sets now for addrsplosion, and this removes private
addrs as well.
6 years ago