Skip to content

Conversation

lidel
Copy link

@lidel lidel commented Oct 1, 2025

This PR replaces the hardcoded p2pd/0.1 version string with runtime detection using debug.ReadBuildInfo().

This matches the approach used in go-libp2p (here) and allows learning@home libp2p nodes to be uniquely represented in https://probelab.io/ipfs/amino/#dht-server-software

cc @dennis-tra @justheuristic for visibility

Replace hardcoded version string with runtime detection using debug.ReadBuildInfo().
This matches the approach used in go-libp2p and prevents version drift.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant