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
vyzo
c3b5ece119
reduce autorelay discovery timeout to 30s
6 years ago
vyzo
e2412502a6
reduce autorelay boot delay to 30s
6 years ago
vyzo
a786afe7f7
Merge pull request #568 from libp2p/fix/verbose-nat-error
reduce nat error level
6 years ago
Steven Allen
16a60f9751
reduce nat error level
6 years ago
vyzo
9a5a437772
Merge pull request #563 from libp2p/fix/simplify-unspecific-relay
relay: simplify declaration of multiaddr var
6 years ago
Lars Gierth
7741442478
relay: simplify declaration of multiaddr var
6 years ago
Steven Allen
0e4b173287
Merge pull request #561 from lnykww/master
Fix UDP listen on a Unspecified Address and Dial from the Unspecified Address
6 years ago
Raúl Kripalani
169e5c6451
Merge pull request #562 from andrew/ci-readme-badges
Remove jenkins column from package table
6 years ago
Andrew Nesbitt
2b1f7dd23f
Remove jenkins column from package table
Also update travis-ci.org to travis-ci.com
6 years ago
lnykww
5da711dc6c
Fix UDP listen on a Unspecified Address and Dial from the Unspecified Address
LocalMultiaddr May return the Unspecified Address, if so, we need to
check if we listen on the Unspecified address and they were equal.
6 years ago
Raúl Kripalani
d42487d59b
remove Jenkinsfile.
6 years ago
vyzo
165c59fe92
Merge pull request #557 from libp2p/gx/update
gx publish 6.0.41
6 years ago
vyzo
e5e6e67c50
gx publish 6.0.41
6 years ago
vyzo
2308ba3c00
Merge pull request #556 from libp2p/gomod/update
update go-smux-yamux dependency
6 years ago
vyzo
eb20b61a6d
update go-smux-yamux
6 years ago
Steven Allen
b1ba17c750
Merge pull request #555 from curiousleo/patch-1
Fix typos in p2p/net/README.md
6 years ago
Leonhard Markert
2a7478131a
Fix typos in p2p/net/README.md
"Requet" -> "Request", "tls" -> "TLS"
6 years ago
Steven Allen
abe3981df7
Merge pull request #549 from libp2p/feat/better-natmapping
better nat mapping
6 years ago