go-libp2p
go-libp2p copied to clipboard
libp2p implementation in Go
The identify tests were the last consumer of the `mocknet` package (which in turn is the last consumer of `go-libp2p-testing/net` package). By rewriting those tests, we can get rid of...
This happened on OSX on GH Actions: ``` === RUN TestIDService id_test.go:86: test peer1 has peer2 addrs correctly id_test.go:101: test peer2 has peer1 addrs correctly id_test.go:114: testing addrs just after...
tcp: flaky TestTcpTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamReset
``` 2022-04-22T14:50:24.4826289Z === RUN TestTcpTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamReset 2022-04-22T14:50:24.4826888Z panic: Fail in goroutine after TestTcpTransport/github.com/libp2p/go-libp2p-testing/suites/transport.SubtestStreamOpenStress has completed 2022-04-22T14:50:24.4826907Z 2022-04-22T14:50:24.4827036Z goroutine 52338 [running]: 2022-04-22T14:50:24.4827179Z testing.(*common).Fail(0xc00753ed00) 2022-04-22T14:50:24.4827465Z C:/hostedtoolcache/windows/go/1.17.8/x64/src/testing/testing.go:710 +0xe5 2022-04-22T14:50:24.4827678Z testing.(*common).Error(0x26b4d3f8c20, {0xc0092b1f78, 0xc00925c1a0, 0x0}) 2022-04-22T14:50:24.4827923Z...
``` === RUN TestWaitForCandidates autorelay_test.go:176: Error Trace: autorelay_test.go:176 Error: Condition never satisfied Test: TestWaitForCandidates --- FAIL: TestWaitForCandidates (4.69s)
# Feature Include [Proxy Protocol](https://www.haproxy.com/blog/haproxy/proxy-protocol/) to support the use of Load Balancers and Reverse Proxies. ## Background The current behaviour of a libp2p node (e.g. lotus) behind a load balancer...
Right now it's pretty trivial to lie to an AutoNAT client by reporting incorrect dialback results. We should register a Notifee and track incoming connections when a dialback is requested,...
Hi from @berty, We recently discovered that if we enable the `reuseport` feature on the `libp2p-tcp-transport` while using a cellular connection, it could lead to network errors with some mobile...
[Not meant to be merged] A PoC implementation of stream migration. The example test here runs ping 20 times and migrates the underlying stream 4 times. No changes to ping...
Every (public) node should have a Subdomain and a trusted TLS certificate, so that browser nodes can connect using `/wss` (Secure WebSockets transport). We will support manual certificate configuration, and...
This updates the release checklist to what we've actually been doing. Updating kad, pubsub, daemon and bitswap is quite a lot of work, and doesn't provide much value, given that...