mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 14:51:34 +00:00
*: Link to libp2p/specs in doc comments (#3077)
This commit is contained in:
@ -35,6 +35,7 @@ const MAX_INLINE_KEY_LENGTH: usize = 42;
|
||||
/// Identifier of a peer of the network.
|
||||
///
|
||||
/// The data is a multihash of the public key of the peer.
|
||||
/// See the [spec](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md) for more information.
|
||||
#[derive(Clone, Copy, Eq, Hash, Ord, PartialEq, PartialOrd)]
|
||||
pub struct PeerId {
|
||||
multihash: Multihash,
|
||||
|
Reference in New Issue
Block a user