Module sp_beefy::crypto

source ·
Expand description

BEEFY cryptographic types

This module basically introduces three crypto types:

  • crypto::Pair
  • crypto::Public
  • crypto::Signature

Your code should use the above types as concrete types for all crypto related functionality.

The current underlying crypto scheme used is ECDSA. This can be changed, without affecting code restricted against the above listed crypto types.

Structs

A generic AppPublic wrapper type over $pair crypto; this has no specific App.
A generic AppPublic wrapper type over $public crypto; this has no specific App.
A generic AppPublic wrapper type over $public crypto; this has no specific App.

Type Definitions

Identity of a BEEFY authority using ECDSA as its crypto.
Signature for a BEEFY authority using ECDSA as its crypto.