kubo/core
Marten Seemann 232ccb4e55
feat: relay v2 discovery (go-libp2p v0.19.0) (#8868)
* update go-libp2p to v0.19.0
* chore: go-namesys v0.5.0
* refactor(config): cleanup relay handling
* docs(config): document updated defaults
* fix(tests): panic during sharness

* fix: t0160-resolve.sh
See https://github.com/ipfs/go-namesys/pull/32

* fix: t0182-circuit-relay.sh
* test: transport encryption

Old tests were no longer working because go-libp2p 0.19 removed
the undocumented 'ls' pseudoprotocol.

This replaces these tests with handshake attempt (name is echoed back on
OK or 'na' is returned when protocol is not available) for tls and noise
variants + adds explicit test that safeguards us against enabling
plaintext by default by a mistake.

* fix: ./t0182-circuit-relay.sh

test is flaky, for now we just restart the testbed when we get
NO_RESERVATION error

* refactor: AutoRelayFeeder with exp. backoff

It starts at feeding peers ever 15s, then backs off each time
until it is done once an hour

Should be acceptable until we have smarter mechanism in go-lib2p 0.20

* feat(AutoRelay): prioritize Peering.Peers

This ensures we feed trusted Peering.Peers in addition to any peers
discovered over DHT.

* docs(CHANGELOG): document breaking changes

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <gus@gus.dev>
2022-04-28 17:13:15 +02:00
..
bootstrap fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
commands chore: mark 'log tail' experimental (#8912) 2022-04-28 15:57:43 +02:00
coreapi fix(cmds): CIDv1 and correct multicodecs in 'block put' and 'cid codecs' (#8568) 2022-04-21 18:19:40 +02:00
coredag gx: unrewrite 2019-03-05 18:33:56 +01:00
corehttp feat(gw): improved If-None-Match support (#8891) 2022-04-19 20:57:11 +02:00
corerepo feat: go-libp2p 0.16, UnixFS autosharding and go-datastore with contexts (#8563) 2021-11-29 19:58:05 +01:00
coreunix feat: add basic gateway tracing (#8595) 2022-04-04 19:24:05 +02:00
mock feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680) 2022-04-07 21:06:35 -04:00
node feat: relay v2 discovery (go-libp2p v0.19.0) (#8868) 2022-04-28 17:13:15 +02:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
builder.go fix(core/node): unwrap fx error in node construction 2022-03-16 19:32:31 -03:00
core_test.go fix: rewrite dependencies over the go-ipfs-config package 2022-03-04 09:45:16 +01:00
core.go feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680) 2022-04-07 21:06:35 -04:00