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
Steven Allen
9fbcf243f9
Merge pull request #577 from libp2p/fix/only-reported-addrs
identify: be more careful about the addresses we store
6 years ago
Steven Allen
bcbf7a59c1
identify: only record observed addresses that match an address we're announcing
This is should prevent us from, e.g., announcing relay addresses _just_ because
a peer tells us we're reachable through a relay.
6 years ago
vyzo
fcb60e2474
Merge pull request #581 from libp2p/gomod/update
gomod: update go-libp2p-circuit
6 years ago
vyzo
9bb06fcb2a
gomod: update go-libp2p-circuit
6 years ago
Steven Allen
a5ef3bd892
Merge pull request #578 from libp2p/fix/relay-host-stuff
relay: turn autorelay into a service and always filter out relay addresses
6 years ago
Steven Allen
beb02be512
Merge pull request #576 from libp2p/fix/constructor-nits
chore: fail in the libp2p constructor if we fail to store the key
6 years ago
Steven Allen
87d57b5155
relay: allow users to explicitly add relay addresses
6 years ago
Steven Allen
7093262620
relay: update documentation
6 years ago
vyzo
fee7b01e32
add missing word
6 years ago
Steven Allen
c580255d13
relay: drop design comments
These are issues for another day.
6 years ago
Steven Allen
1d8efc31aa
doc: document relay options
6 years ago
vyzo
45df977d57
bump relay record limit to 50
6 years ago
Steven Allen
5b665643c7
relay: only stop advertising relay addresses if we fully disconnect
6 years ago
Steven Allen
80ada8a7d6
relay: no more wrapping
We don't need the host wrappers, we can just replace the filter AddrsFactory.
Also, always filter out relay addresses.
6 years ago
Steven Allen
12d0f8c535
Merge pull request #580 from albrow/patch-1
Fix broken link in README.md
6 years ago
Alex Browne
125e0995c8
Fix broken link in README.md
It looks like `github.com/whyrusleeping/go-smux-mplex` was renamed to `github.com/whyrusleeping/go-smux-multiplex`.
6 years ago
Steven Allen
09d9f0cc22
chore: fail in the libp2p constructor if we fail to store the key
6 years ago
Steven Allen
544c412193
identify: only store _reported_ multiaddrs
We still tell the remote host about the observed addr but we don't store it.
That way, we give them a chance to decide if they want to actually use and
advertise it.
Ideally, we'd distinguish between local information and signed routing
information but we don't do that yet.
This should reduce the address explosion issue where peers learn about
multiple (bad) observed addresses for the same peer. It should also give peers
more control over how they can be dialed.
6 years ago
Steven Allen
28eb467dc4
Merge pull request #572 from libp2p/dep/update-transports
dep: update transports
6 years ago
Steven Allen
e170c4a6bb
Merge pull request #571 from libp2p/readme-update
Link to docs & discuss in readme
6 years ago
Steven Allen
2a8398b05f
dep: update transports
6 years ago
vyzo
534a24105c
Merge pull request #570 from libp2p/feat/autorelay-timing
Reduce autorelay boot delay and correctly handle private->public transition
6 years ago
vyzo
b33e731689
gomod: update go-libp2p-autonat
6 years ago
Yusef Napora
5b0e2d3373
link to docs & discuss in readme
6 years ago
vyzo
62531f9a10
reduce autorelay boot delay to 20s
6 years ago
vyzo
bace7d4ceb
autorelay: correctly handle private->public transition
6 years ago