Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

feat: add peer:identify event to libp2p #395

Merged
merged 2 commits into from
May 5, 2023

Conversation

achingbrain
Copy link
Member

This event is useful to evesdrop on network behaviour and helps to debug situations where a remote peer is sending bad data in it's identify response (for exapmle not including any routable addresses).

An event is better than opening a protocol stream and sending more requests as remotes will frequently reset streams if there are too many concurrent identify requests, etc.

This event is useful to evesdrop on network behaviour and helps to
debug situations where a remote peer is sending bad data in it's
identify response (for exapmle not including any routable addresses).

An event is better than opening a protocol stream and sending more
requests as remotes will frequently reset streams if there are too
many concurrent identify requests, etc.
@achingbrain achingbrain merged commit 6aee82a into master May 5, 2023
@achingbrain achingbrain deleted the feat/add-peer-identify-event branch May 5, 2023 13:24
github-actions bot pushed a commit that referenced this pull request May 5, 2023
@github-actions
Copy link

github-actions bot commented May 5, 2023

🎉 This PR is included in version @libp2p/interface-libp2p-v3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant