Steven Allen
262b35f272
chore: improve nil option tests
6 years ago
Steven Allen
6a6b415c41
Merge pull request #603 from libp2p/feat/nil-option
constructor: allow nil options
6 years ago
Steven Allen
cff9cb577c
constructor: allow nil options
This can make it significantly easier to configure libp2p with optional options.
6 years ago
vyzo
213863abbc
Merge pull request #599 from libp2p/feat/identify-replace-addrs
Replace peer addresses in identify
6 years ago
vyzo
a88ae79f6f
use transientTTL for invalidated addrs instead of 0
6 years ago
vyzo
06391d4f2f
replace peer addresses in identify
6 years ago
vyzo
4722f1aab6
Merge pull request #600 from libp2p/gomod/update
gomod: update go-libp2p-discovery
6 years ago
vyzo
8d2457577d
gomod: update go-libp2p-discovery
6 years ago
vyzo
27f465ee35
some better logging
6 years ago
vyzo
0830634938
limit number of FindPeer queries in relay selection
6 years ago
vyzo
0c69da9409
move the address invalidation check outside the lock
6 years ago
vyzo
8d5c11c072
fix private->public->private transition issues with address set
6 years ago
vyzo
e8e2ab1930
limit relay selection to 20
6 years ago
vyzo
c8b8014fd0
gate retry wait with the context
6 years ago
vyzo
376379b5b8
retry to find relays if we fail to connect to any
6 years ago
vyzo
4a6e767da2
log and ignore relay peers with empty address sets
6 years ago
vyzo
081bb0f7ed
small tweak in autorelay test
6 years ago
vyzo
8c7da83b55
also check private addresses when looking for 4001
6 years ago
vyzo
da65fd74a6
fix and reinstate autorelay test
6 years ago
vyzo
45d2888617
don't drop ephemeral ports in address set clean up
6 years ago
vyzo
c9f627e221
increase FindPeer timeout to 30s
6 years ago
vyzo
31dfaf6029
increase relay advertising boot delay to 15min
6 years ago
vyzo
1138fb6040
only determine default port if it is in a public addr
6 years ago
vyzo
becb89a245
shuffle relay set before queries
6 years ago
vyzo
39f2b7ad45
fix selectRelays to return promptly when there are query errors
6 years ago
vyzo
765ed0e1a6
select 50 relays
6 years ago
vyzo
9863e22d4a
rework relay selection logic
6 years ago
vyzo
aa03a9b839
clean up relay address sets to curtail addrsplosion
6 years ago
vyzo
a1ebc4d852
reduce relay find peer and connect timeout to 30s
6 years ago
vyzo
ffd4981247
increase autorelay discovery limit to 1k
6 years ago
vyzo
f106bf7f74
Merge pull request #596 from libp2p/gomod/update
gomod: update go-libp2p-peerstore
6 years ago
vyzo
e2acda1c42
gomod: update go-libp2p-peerstore
6 years ago
Steven Allen
6586d8c7f3
Merge pull request #595 from libp2p/dep/update-nat
dep: update go-libp2p-nat again
6 years ago
Steven Allen
ef92f67df6
dep: update go-libp2p-nat again
This time, don't try to map the same internal/external port. Random ports are
safer as not all NAT devices can handle port conflicts...
6 years ago
vyzo
77c1ecca21
Merge pull request #594 from libp2p/gomod/update
gomod: update go-libp2p-circuit
6 years ago
vyzo
b94e2ce8f3
gomod: update go-libp2p-circuit
6 years ago
Steven Allen
d820ea1138
Merge pull request #593 from libp2p/dep/update-nat
dep: update go-libp2p-nat
6 years ago
Steven Allen
2c33dc34ac
dep: update go-libp2p-nat
Switches to libp2p/go-nat which has some improved gateway detection logic.
6 years ago
Raúl Kripalani
29e5ff48bb
farewell gx; thanks for serving us well.
6 years ago
Yusef Napora
9c2c6a29d9
Merge pull request #591 from libp2p/readme/bye-gx
Deprecate gx in readme & link to workspace repo
6 years ago
Yusef Napora
51621c18bd
fix TOC links
6 years ago
Yusef Napora
c331b52d71
Add link to discuss topic about gx migration
6 years ago
Yusef Napora
d092ebaf21
deprecate gx in readme, link to workspace
This adds a link to the workspace-go-libp2p repo and some context
on what it's used for.
It also removes gx-related instructions and adds a deprecation
notice about gx, encouraging users to migrate.
6 years ago
vyzo
53ee3dda33
Merge pull request #590 from libp2p/feat/no-dial-option
Respect nodial option in routed host
6 years ago
vyzo
e4061bbb87
travis: remove gx build
6 years ago
vyzo
1e48e15da7
respect NoDial option in routed host
6 years ago
vyzo
25adea6d56
gomod: update go-libp2p-net, go-libp2p-swarm, and go-libp2p-circuit
6 years ago
vyzo
49fe8adced
Merge pull request #587 from libp2p/gomod/update
update go-libp2p-autonat
6 years ago
vyzo
2bd14ad185
update go-libp2p-autonat
6 years ago
vyzo
202655c7ba
Merge pull request #586 from libp2p/fix/obsaddr-panic
fix panic in observed address activation check
6 years ago