#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 1/week @ 2024-11-13 8/week @ 2024-11-20 15/week @ 2024-11-27 23/week @ 2024-12-04 37/week @ 2024-12-11 9/week @ 2024-12-18 2/week @ 2024-12-25 3/week @ 2025-01-01 11/week @ 2025-01-08 8/week @ 2025-01-15 9/week @ 2025-01-22 28/week @ 2025-02-05 60/week @ 2025-02-12 4/week @ 2025-02-19 19/week @ 2025-02-26

111 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–17MB
~326K SLoC