pub type ProtocolGenesisVerificationKey = ProtocolKey<VerifyingKey>;
Expand description

Wrapper of Ed25519:PublicKey.

Aliased Type§

struct ProtocolGenesisVerificationKey { /* private fields */ }

Implementations§

source§

impl ProtocolGenesisVerificationKey

source

pub fn verify( &self, message: &[u8], signature: &ProtocolGenesisSignature, ) -> StdResult<()>

Verifies the genesis signature of a message