Function subspace_networking::peer_id

source ยท
pub fn peer_id(keypair: &Keypair) -> PeerId
Expand description

Converts public key from keypair to PeerId. It serves as the shared PeerId generating algorithm.