libp2p / js-libp2p-interfaces

Contains test suites and interfaces you can use to implement the various components of js libp2p.
Other
75 stars 28 forks source link

feat: add peer:identify event to libp2p #395

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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

The release is available on:

Your semantic-release bot :package::rocket: