#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 35/week @ 2024-03-11 34/week @ 2024-03-18 31/week @ 2024-03-25 45/week @ 2024-04-01 23/week @ 2024-04-08 24/week @ 2024-04-15 32/week @ 2024-04-22 22/week @ 2024-04-29 22/week @ 2024-05-06 31/week @ 2024-05-13 20/week @ 2024-05-20 30/week @ 2024-05-27 29/week @ 2024-06-03 22/week @ 2024-06-10 20/week @ 2024-06-17 32/week @ 2024-06-24

104 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–15MB
~306K SLoC