go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

libp2p implementation in Go

Results 382 go-libp2p issues
Sort by recently updated
recently updated
newest added

Fixes WebRTC crashing WebAssembly compilation due to pion/webrtc explicitly disabling WASM support for certificate utils. Fixes #3277 Related: https://github.com/pion/webrtc/pull/3118 https://github.com/pion/webrtc/pull/3119

## Summary This pull request improves robustness and correctness in the `pstoreds` package by: - Fixing incorrect `cyclicBatch` threshold initialization that could cause unintended immediate commits. - Adding proper error...

When a host is listening on `0.0.0.0` we only advertise the primary interface address of the node. The primary interface is selected by querying the routing table for the default...

We should rate limit new connections and streams created by a host. go-libp2p should rate limit new connections, and streams used by libp2p itself, like identify-push, autonat, etc. Users should...

This PR resolves #3246 by ensuring that associated transports are properly cleaned up when a QUIC listener is closed.

Fixes https://github.com/libp2p/go-libp2p/issues/1437 Also https://github.com/ipfs/kubo/issues/8193 Avoid connection limit issues when there is an ipfs websocket behind a proxy. Kubo Log: ``` DEBUG upgrader upgrader/listener.go:99 resource manager blocked accept of new connection...

Reachability is not consistent information, and for some unknown reason, some public nodes with public IPs are shown as private [Example [here](https://bootstrap1.pactus.org/node)]. Any idea why this happens? Probably, this may...

I would like to have my own struct, where I can assign mDNS service to [`mdns.NewMdnsService()`](https://github.com/libp2p/go-libp2p/blob/578af0c651a61549cc51a08c70f611c8977ae75e/p2p/discovery/mdns/mdns.go#L53): ```go type MyStruct struct { mdnsService *mdns.mdnsService // Error: name mdnsService not exported by...

If a user is allowing some multiaddrs via the `AllowList` we should update those network prefixes with the IP prefix conn limiter. There's no reason to force the user to...

The builtin methods are broken on android (see #2986 and https://github.com/golang/go/issues/40569). This patch allows users to provide their own implementation of these methods, such as [anet](https://github.com/wlynxg/anet). This depends on a...