Module sp_consensus_sassafras::vrf
source · Expand description
Utilities related to VRF input, pre-output and signatures.
Structs§
- remove as soon as soon as serialization is implemented by the backend
- Ring VRF signature.
- VRF input to construct a
VrfPreOutput
instance and embeddable inVrfSignData
. - VRF pre-output derived from
VrfInput
using a [VrfSecret
]. - Data to be signed via one of the two provided vrf flavors.
- VRF signature.
Constants§
- Ring VRF domain size for Sassafras consensus.
Functions§
- Make revealed key seed from a given VRF input and pre-output.
- Make ticket-id from the given VRF input and pre-output.
- VRF input to generate the revealed key.
- VRF input to claim slot ownership during block production.
- Signing-data to claim slot ownership during block production.
- Data to be signed via ring-vrf.
- VRF input to generate the ticket id.
Type Aliases§
- Bandersnatch VRF
RingContext
specialization for Sassafras usingRING_VRF_DOMAIN_SIZE
.