pub fn peer_id(keypair: &Keypair) -> PeerId
Expand description
Converts public key from keypair to PeerId. It serves as the shared PeerId generating algorithm.
pub fn peer_id(keypair: &Keypair) -> PeerId
Converts public key from keypair to PeerId. It serves as the shared PeerId generating algorithm.