Alex Potsides ba56c64662
fix: add timeout for circuit relay (#1294)
Make sure we don't potentially wait forever during incoming circuit relay handshakes.

Adds a timeout option to the hop config to control how long we will wait.
2022-07-15 16:36:31 +00:00
..
2022-05-10 12:35:33 +01:00
2022-03-28 14:30:27 +01:00

js-libp2p-identify

libp2p Identify Protocol

Note: git history prior to merging into js-libp2p can be found in the original repository, https://github.com/libp2p/js-libp2p-identify.

Description

Identify is a STUN protocol, used by libp2p in order to broadcast and learn about the ip:port pairs a specific peer is available through and to know when a new stream muxer is established, so a conn can be reused.

How does it work

The spec for Identify and Identify Push is at libp2p/specs.