#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

#13 in #tetsy-libp2p

Download history 12/week @ 2023-12-09 16/week @ 2023-12-16 9/week @ 2023-12-23 1/week @ 2023-12-30 20/week @ 2024-01-06 36/week @ 2024-01-13 9/week @ 2024-01-20 1/week @ 2024-01-27 2/week @ 2024-02-03 14/week @ 2024-02-10 29/week @ 2024-02-17 35/week @ 2024-02-24 22/week @ 2024-03-02 33/week @ 2024-03-09 34/week @ 2024-03-16 34/week @ 2024-03-23

132 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

~10–15MB
~316K SLoC