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
vyzo
a4776e6174
fix panic in observed address activation check
The activated check cleans up, which leads to panics with concurrent reads.
This moves the seenBy set clean up into gc, where it belongs
6 years ago
vyzo
7ae0fda2bd
Merge pull request #585 from libp2p/fix/obsaddr
Improve observed address handling
6 years ago
vyzo
efdc140264
raise activation channel capacity to 16
6 years ago
Yusef Napora
2a48294236
add discuss badge to readme
6 years ago
vyzo
fe7ba05e38
delete empty address sets on observed address set gc
6 years ago
vyzo
17001b24dd
use a read/write lock for observed address set
6 years ago
vyzo
f4af8d493d
fix identify tests
6 years ago
vyzo
9b8192b7d2
initialize ttl in ObservedAddrSet
6 years ago
vyzo
b8a152f593
use a background worker for updating/gcing the observed address set
6 years ago
vyzo
e76c8a9c38
don't eagerly update the observed address set in Addrs
allocates and eats a lot of cpu time under the lock;
let a background worker gc periodically.
6 years ago
vyzo
9051b3c26e
Merge pull request #583 from libp2p/fix/faster-observer
identify: avoid parsing/printing multiaddrs
6 years ago
Steven Allen
316f0867f6
identify: avoid parsing/printing multiaddrs
6 years ago
Steven Allen
3a998a111a
Merge pull request #582 from libp2p/feat/reduce-lock-contention
move things outside of the lock in obsaddr
6 years ago
Steven Allen
aebe405680
test: disable TestAddAddrsProfile when the race detector is enabled
6 years ago
whyrusleeping
a7eb2efe4b
move things outside of the lock in obsaddr
6 years ago