pub fn derive_libp2p_keypair<K: SignatureKey>(
    private_key: &K::PrivateKey
) -> Result<Keypair>
Expand description

Derive a Libp2p keypair from a given private key

§Errors

If we are unable to derive a new SecretKey from the blake3-derived bytes.