pub fn from_keys(
        consensus_pk: PublicKey,
        consensus_sk: SecretKey,
        service_pk: PublicKey,
        service_sk: SecretKey,
    ) -> Self {
        Self {
            consensus: (consensus_pk, consensus_sk).into(),
            service: (service_pk, service_sk).into(),
        }
    }
/// Create validator keys from provided keypairs.
///
/// # Panics
///
/// If public key in any keypair doesn't match with corresponding private key.
Create validator keys from provided keypairs.
Create validator keys from provided keypairs .
pub fn from_keys(
        consensus_pk: PublicKey,
        consensus_sk: SecretKey,
        service_pk: PublicKey,
        service_sk: SecretKey,
    ) -> Self {
        Self {
            consensus: (consensus_pk, consensus_sk).into(),
            service: (service_pk, service_sk).into(),
        }
    }
pub fn from_keys ( consensus_pk : PublicKey , consensus_sk : SecretKey , service_pk : PublicKey , service_sk : SecretKey , ) -> Self { Self { consensus : ( consensus_pk , consensus_sk ) . into ( ) , service : ( service_pk , service_sk ) . into ( ) , } }
Create validator keys from provided keypairs.
Create validator keys from provided keypairs .
consensus_pk
PublicKey
consensus_sk
SecretKey
service_pk
PublicKey
service_sk
SecretKey
consensus_pk
PublicKey
consensus_sk
SecretKey
service_pk
PublicKey
service_sk
SecretKey
panics
If public key in any keypair doesn't match with corresponding private key.
If public key in any keypair doesn ' t match with corresponding private key .