#tetcoin #tetsy-libp2p #networking #crypto

tetsy-libp2p-identify

Nodes identifcation protocol for tetsy-libp2p

Show the crate…

3 unstable releases

0.28.0 Mar 12, 2021
0.27.1 Apr 3, 2021
0.27.0 Apr 2, 2021
0.0.0 Mar 11, 2021

#14 in #tetsy-libp2p

35 downloads per month
Used in 36 crates (via tetsy-libp2p)

MIT license

690KB
12K SLoC

tetsy-libp2p-identify

Implementation of the Identify protocol.

This implementation of the protocol periodically exchanges IdentifyInfo messages between the peers on an established connection.

At least one identification request is sent on a newly established connection, beyond which the behaviour does not keep connections alive.

Usage

The Identify struct implements a NetworkBehaviour that negotiates and executes the protocol on every established connection, emitting IdentifyEvents.


lib.rs:

Implementation of the Identify protocol.

This implementation of the protocol periodically exchanges IdentifyInfo messages between the peers on an established connection.

At least one identification request is sent on a newly established connection, beyond which the behaviour does not keep connections alive.

Usage

The Identify struct implements a NetworkBehaviour that negotiates and executes the protocol on every established connection, emitting IdentifyEvents.

Dependencies

~11–16MB
~303K SLoC