pub type SchnorrPubKey = VerKey<EdwardsConfig>;
Aliased Type§
struct SchnorrPubKey(/* private fields */);
Trait Implementations§
Source§impl StateSignatureKey for SchnorrPubKey
impl StateSignatureKey for SchnorrPubKey
Source§type StatePrivateKey = SignKey<Fp<MontBackend<FrConfig, 4>, 4>>
type StatePrivateKey = SignKey<Fp<MontBackend<FrConfig, 4>, 4>>
The private key type
Source§type StateSignature = Signature<EdwardsConfig>
type StateSignature = Signature<EdwardsConfig>
The type of the signature
Source§fn sign_state(
sk: &Self::StatePrivateKey,
light_client_state: &LightClientState,
next_stake_table_state: &StakeTableState,
) -> Result<Self::StateSignature, Self::SignError>
fn sign_state( sk: &Self::StatePrivateKey, light_client_state: &LightClientState, next_stake_table_state: &StakeTableState, ) -> Result<Self::StateSignature, Self::SignError>
Sign the light client state
Source§fn verify_state_sig(
&self,
signature: &Self::StateSignature,
light_client_state: &LightClientState,
next_stake_table_state: &StakeTableState,
) -> bool
fn verify_state_sig( &self, signature: &Self::StateSignature, light_client_state: &LightClientState, next_stake_table_state: &StakeTableState, ) -> bool
Verify the light client state signature
Source§fn generated_from_seed_indexed(
seed: [u8; 32],
index: u64,
) -> (Self, Self::StatePrivateKey)
fn generated_from_seed_indexed( seed: [u8; 32], index: u64, ) -> (Self, Self::StatePrivateKey)
Generate a new key pair