#tetcoin #crypto #framework #blockchain #behavior

tet-libp2p-identify

Nodes identifcation protocol for tet-libp2p

Show the crate…

1 unstable release

0.27.0 Mar 15, 2021

#102 in #tetcore


Used in tet-libp2p

MIT license

685KB
12K SLoC

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

~9–14MB
~288K SLoC