Skip to content

feat: add getInfo function to peerstore #3099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 12, 2025
Merged

feat: add getInfo function to peerstore #3099

merged 3 commits into from
May 12, 2025

Conversation

achingbrain
Copy link
Member

Adds a function to return a PeerInfo object - this is more lightweight than a full Peer object as it only contains the peer id and the listening addresses and is commonly used for exchanging peer information.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

Adds a function to return a `PeerInfo` object - this is more
lightweight than a full `Peer` object as it only contains the peer
id and the listening addresses and is commonly used for exchanging
peer information.
@achingbrain achingbrain requested a review from a team as a code owner May 12, 2025 07:24
@achingbrain achingbrain merged commit a5a33af into main May 12, 2025
32 checks passed
@achingbrain achingbrain deleted the feat/add-get-info branch May 12, 2025 08:03
@achingbrain achingbrain mentioned this pull request May 12, 2025
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