pub fn derive_libp2p_peer_id<K: SignatureKey>(
private_key: &K::PrivateKey,
) -> Result<PeerId>
Expand description
Derive a Libp2p Peer ID from a given private key
ยงErrors
If we are unable to derive a Libp2p keypair
pub fn derive_libp2p_peer_id<K: SignatureKey>(
private_key: &K::PrivateKey,
) -> Result<PeerId>
Derive a Libp2p Peer ID from a given private key
If we are unable to derive a Libp2p keypair