go-libp2p
go-libp2p copied to clipboard
libp2p implementation in Go
``` === RUN TestLargeIdentifyMessage id_test.go:845: test peer1 has peer2 addrs correctly id_test.go:860: test peer2 has peer1 addrs correctly id_test.go:873: testing addrs just after disconnect id_test.go:876: Error Trace: id_test.go:41 id_test.go:876 Error:...
``` === RUN TestLargeIdentifyMessage id_test.go:867: test peer1 has peer2 addrs correctly id_test.go:882: test peer2 has peer1 addrs correctly id_test.go:895: testing addrs just after disconnect id_test.go:904: testing addrs after TTL expiration...
Sorry, no hard number to provide other than "upgrading to the new implementation makes my test fails all over the place, randomly. I have a series of go test for...
This injects the DNS resolver into transport constructors.
We currently resolve multiaddrs in the basichost: https://github.com/libp2p/go-libp2p/blob/d7ba37217c6f1a0d739666f78ac19a87728a7280/p2p/host/basic/basic_host.go#L712 This leads to problems with transports that, for example, validate TLS certificates, as they're kept ignorant about the domain name, and only...
Address validation makes sure that the client actually has the IP address that it claims to have. By validating the address before sending a lot of data (e.g. the certificate...
Moved from https://github.com/libp2p/go-libp2p-quic-transport/pull/272 --- Fixes #1428 Hey, I just started to add the `DisableReuseport` options to quic transport. It seems to be working as expected with some cellular operators that...
We have observed in the relay infrastructure that some peers open multiple connections to the relay, many of them simultaneously. This creates a problem as we have lingering sockets that...
libp2p currently collects a few metrics (for example, for [TCP](https://github.com/libp2p/go-tcp-transport/blob/master/metrics.go) and [QUIC](https://github.com/libp2p/go-libp2p-quic-transport/blob/master/tracer_metrics.go)). We also collect metrics for the resource manager, however, that is currently left as a responsibility to the...
The transport consolidation (#1187) has dramatically reduced repo sprawl. We now only have a few go-libp2p-* repos left in the dependency tree of go-lipbp2p. This is a proposal to also...