Skip to content

Commit

Permalink
feat: emit peer:identify event after identify completes (#1741)
Browse files Browse the repository at this point in the history
To monitor when peers complete the identify protocol, emit a
`peer:identify` event with the protocol reply.

This is more reliable than doing an on-demand identify since we can
easily breach per-protocol stream limits for identify.
  • Loading branch information
achingbrain authored May 5, 2023
1 parent ed2fa79 commit cd67b7d
Show file tree
Hide file tree
Showing 8 changed files with 587 additions and 538 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"@libp2p/interface-connection-manager": "^3.0.0",
"@libp2p/interface-content-routing": "^2.1.0",
"@libp2p/interface-keychain": "^2.0.4",
"@libp2p/interface-libp2p": "^3.0.0",
"@libp2p/interface-libp2p": "^3.1.0",
"@libp2p/interface-metrics": "^4.0.0",
"@libp2p/interface-peer-discovery": "^2.0.0",
"@libp2p/interface-peer-id": "^2.0.1",
Expand Down
Loading

0 comments on commit cd67b7d

Please sign in to comment.