mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 17:41:22 +00:00
feat(core): remove deprecated identity
module
Related: #3647. Pull-Request: #4040.
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
//! encoded) by setting the `hash_topics` configuration parameter to true.
|
||||
//!
|
||||
//! - **Sequence Numbers** - A message on the gossipsub network is identified by the source
|
||||
//! [`libp2p_core::PeerId`] and a nonce (sequence number) of the message. The sequence numbers in
|
||||
//! [`PeerId`](libp2p_identity::PeerId) and a nonce (sequence number) of the message. The sequence numbers in
|
||||
//! this implementation are sent as raw bytes across the wire. They are 64-bit big-endian unsigned
|
||||
//! integers. When messages are signed, they are monotonically increasing integers starting from a
|
||||
//! random value and wrapping around u64::MAX. When messages are unsigned, they are chosen at random.
|
||||
@ -83,7 +83,7 @@
|
||||
//!
|
||||
//! The [`Behaviour`] struct implements the [`libp2p_swarm::NetworkBehaviour`] trait allowing it to
|
||||
//! act as the routing behaviour in a [`libp2p_swarm::Swarm`]. This struct requires an instance of
|
||||
//! [`libp2p_core::PeerId`] and [`Config`].
|
||||
//! [`PeerId`](libp2p_identity::PeerId) and [`Config`].
|
||||
//!
|
||||
//! [`Behaviour`]: struct.Behaviour.html
|
||||
|
||||
|
Reference in New Issue
Block a user