#tetcoin #tetsy-libp2p #networking #crypto #behavior

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

Download history 12/week @ 2024-01-14 9/week @ 2024-01-21 3/week @ 2024-02-04 18/week @ 2024-02-11 24/week @ 2024-02-18 40/week @ 2024-02-25 21/week @ 2024-03-03 41/week @ 2024-03-10 31/week @ 2024-03-17 29/week @ 2024-03-24 48/week @ 2024-03-31 20/week @ 2024-04-07 27/week @ 2024-04-14 34/week @ 2024-04-21 23/week @ 2024-04-28

110 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

~9–14MB
~300K SLoC