Skip to content

Commit

Permalink
docs: Add comment to peer id
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan46 committed Jun 28, 2024
1 parent 03dd042 commit 25e97a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/storage-provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub mod pallet {
/// Peer ID is derived by hashing an encoded public key.
/// Usually represented in bytes.
/// https://github.com/libp2p/specs/blob/2ea41e8c769f1bead8e637a9d4ebf8c791976e8a/peer-ids/peer-ids.md#peer-ids
/// More information about libp2p peer ids: https://docs.libp2p.io/concepts/fundamentals/peers/
type PeerId: Clone + Debug + Decode + Encode + Eq + TypeInfo;
}

Expand Down

0 comments on commit 25e97a2

Please sign in to comment.