go-libp2p
go-libp2p copied to clipboard
libp2p implementation in Go
As per https://github.com/libp2p/interface-peer-discovery This interface would be implemented by: - mdns - bootstrap - random walk (does this currently exist in go-libp2p?) - in the future: webrtc, ...
We did the opposite thing of what the spec says to do. This meant that we would fail to hole-punch with rust nodes because both sides would attempt to be...
When users do AddAddrs(..., TTL) they want the TTL to count after the peer disconnects, not immediately after setting the TTL. What happens instead is that the TTL is almost...
Is this really what we should expect? Why doesn't the observed address take precedence here? _Originally posted by @MarcoPolo in https://github.com/libp2p/go-libp2p/pull/3075#discussion_r1968934713_ This makes sense. The observed addrs manager gets the...
This PR attempts to refactor how NewStream works. Instead of having the swarm be responsible for picking the best connection, and then waiting on identify to run on that connection....
Allows a node to expose its metrics to another libp2p node. Only allow listed peer ids can query the metrics. This enables a user to share their metrics with us,...
I'd like to create changelogs from the commit history. Standardizing on PR titles will let us reuse the tooling around conventional commits.
Note: if missing the message in some terminals when opened the terminal at the same time, try to reopen the terminal to execute `go run .`.
We are currently using `github.com/decred/dcrd/dcrec/secp256k1/v4` for our secp256k1 cryptography. It seems Lotus folks have recently switched to `gitlab.com/yawning/secp256k1-voi` for their secp256k1 crypto for reasons I don't yet understand. Some Lotus...
## What It would be useful to have a way to inspect resource manager limits and current consumption in a go-libp2p host. This could help with debugging and monitoring. ##...