vyzo
4a6e767da2
log and ignore relay peers with empty address sets
2019-04-14 16:03:58 +03:00
vyzo
081bb0f7ed
small tweak in autorelay test
2019-04-14 15:55:45 +03:00
vyzo
8c7da83b55
also check private addresses when looking for 4001
2019-04-14 15:47:46 +03:00
vyzo
da65fd74a6
fix and reinstate autorelay test
2019-04-14 15:37:20 +03:00
vyzo
45d2888617
don't drop ephemeral ports in address set clean up
2019-04-14 15:37:01 +03:00
vyzo
c9f627e221
increase FindPeer timeout to 30s
2019-04-14 15:06:15 +03:00
vyzo
31dfaf6029
increase relay advertising boot delay to 15min
2019-04-14 14:53:30 +03:00
vyzo
1138fb6040
only determine default port if it is in a public addr
2019-04-14 14:37:33 +03:00
vyzo
becb89a245
shuffle relay set before queries
2019-04-14 14:32:31 +03:00
vyzo
39f2b7ad45
fix selectRelays to return promptly when there are query errors
2019-04-14 14:25:30 +03:00
vyzo
765ed0e1a6
select 50 relays
2019-04-14 14:13:36 +03:00
vyzo
9863e22d4a
rework relay selection logic
2019-04-14 14:06:13 +03:00
vyzo
aa03a9b839
clean up relay address sets to curtail addrsplosion
2019-04-14 12:58:41 +03:00
vyzo
a1ebc4d852
reduce relay find peer and connect timeout to 30s
2019-04-13 23:46:41 +03:00
vyzo
ffd4981247
increase autorelay discovery limit to 1k
2019-04-13 22:36:29 +03:00
vyzo
f106bf7f74
Merge pull request #596 from libp2p/gomod/update
...
gomod: update go-libp2p-peerstore
2019-04-12 21:03:49 +03:00
vyzo
e2acda1c42
gomod: update go-libp2p-peerstore
2019-04-12 20:59:41 +03:00
Steven Allen
6586d8c7f3
Merge pull request #595 from libp2p/dep/update-nat
...
dep: update go-libp2p-nat again
2019-04-12 10:31:24 -07:00
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...
2019-04-12 10:29:02 -07:00
vyzo
77c1ecca21
Merge pull request #594 from libp2p/gomod/update
...
gomod: update go-libp2p-circuit
2019-04-12 10:55:27 +03:00
vyzo
b94e2ce8f3
gomod: update go-libp2p-circuit
2019-04-12 10:52:17 +03:00
Steven Allen
d820ea1138
Merge pull request #593 from libp2p/dep/update-nat
...
dep: update go-libp2p-nat
2019-04-11 22:47:13 -07:00
Steven Allen
2c33dc34ac
dep: update go-libp2p-nat
...
Switches to libp2p/go-nat which has some improved gateway detection logic.
2019-04-11 22:13:02 -07:00
Raúl Kripalani
29e5ff48bb
farewell gx; thanks for serving us well.
2019-04-11 21:11:15 +01:00
Yusef Napora
9c2c6a29d9
Merge pull request #591 from libp2p/readme/bye-gx
...
Deprecate gx in readme & link to workspace repo
2019-04-11 13:38:11 -04:00
Yusef Napora
51621c18bd
fix TOC links
2019-04-11 11:48:26 -04:00
Yusef Napora
c331b52d71
Add link to discuss topic about gx migration
2019-04-11 10:28:02 -04:00
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.
2019-04-11 10:23:32 -04:00
vyzo
53ee3dda33
Merge pull request #590 from libp2p/feat/no-dial-option
...
Respect nodial option in routed host
2019-04-10 23:17:27 +03:00
vyzo
e4061bbb87
travis: remove gx build
2019-04-10 23:12:43 +03:00
vyzo
1e48e15da7
respect NoDial option in routed host
2019-04-10 23:12:14 +03:00
vyzo
25adea6d56
gomod: update go-libp2p-net, go-libp2p-swarm, and go-libp2p-circuit
2019-04-10 23:09:17 +03:00
vyzo
49fe8adced
Merge pull request #587 from libp2p/gomod/update
...
update go-libp2p-autonat
2019-04-10 10:44:17 +03:00
vyzo
2bd14ad185
update go-libp2p-autonat
2019-04-10 10:42:16 +03:00
vyzo
202655c7ba
Merge pull request #586 from libp2p/fix/obsaddr-panic
...
fix panic in observed address activation check
2019-04-09 21:53:43 +03:00
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
2019-04-09 21:52:40 +03:00
vyzo
7ae0fda2bd
Merge pull request #585 from libp2p/fix/obsaddr
...
Improve observed address handling
2019-04-09 20:41:24 +03:00
vyzo
efdc140264
raise activation channel capacity to 16
2019-04-09 20:35:36 +03:00
Yusef Napora
2a48294236
add discuss badge to readme
2019-04-09 11:12:43 -04:00
vyzo
fe7ba05e38
delete empty address sets on observed address set gc
2019-04-09 14:00:03 +03:00
vyzo
17001b24dd
use a read/write lock for observed address set
2019-04-09 13:40:46 +03:00
vyzo
f4af8d493d
fix identify tests
2019-04-09 13:20:38 +03:00
vyzo
9b8192b7d2
initialize ttl in ObservedAddrSet
2019-04-09 13:19:54 +03:00
vyzo
b8a152f593
use a background worker for updating/gcing the observed address set
2019-04-09 12:44:13 +03:00
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.
2019-04-09 12:13:30 +03:00
vyzo
9051b3c26e
Merge pull request #583 from libp2p/fix/faster-observer
...
identify: avoid parsing/printing multiaddrs
2019-04-09 10:47:24 +03:00
Steven Allen
316f0867f6
identify: avoid parsing/printing multiaddrs
2019-04-08 18:43:11 -07:00
Steven Allen
3a998a111a
Merge pull request #582 from libp2p/feat/reduce-lock-contention
...
move things outside of the lock in obsaddr
2019-04-08 18:39:09 -07:00
Steven Allen
aebe405680
test: disable TestAddAddrsProfile when the race detector is enabled
2019-04-08 18:30:59 -07:00
whyrusleeping
a7eb2efe4b
move things outside of the lock in obsaddr
2019-04-08 16:14:05 -07:00