Module sp_consensus_vrf::schnorrkel[][src]

Schnorrkel-based VRF.

Structs

PublicKey

A Ristretto Schnorr public key.

VRFOutput

VRF output type available for std environment, suitable for schnorrkel operations.

VRFProof

VRF proof type available for std environment, suitable for schnorrkel operations.

Enums

SignatureError

Errors which may occur while processing signatures and keypairs.

Constants

RANDOMNESS_LENGTH

The length of the Randomness.

VRF_OUTPUT_LENGTH

Length of VRF output.

VRF_PROOF_LENGTH

Length of the short VRF proof which lacks support for batch verification.

Type Definitions

Randomness

Schnorrkel randomness value. Same size as VRFOutput.