Expand description
Utilities related to VRF input, pre-output and signatures.
Structs§
- Ring
Verifier Key - Ring verifier key
- Ring
VrfSignature - Ring VRF signature.
- VrfInput
- VRF input to construct a
VrfPreOutput
instance and embeddable inVrfSignData
. - VrfPre
Output - VRF pre-output derived from
VrfInput
using a [VrfSecret
]. - VrfSign
Data - Data to be signed via one of the two provided vrf flavors.
- VrfSignature
- VRF signature.
Constants§
- RING_
SIZE - Ring size (aka authorities count) for Sassafras consensus.
Functions§
- make_
ticket_ id - Make ticket-id from the given VRF pre-output.
- slot_
claim_ input - Input for slot claim
- slot_
claim_ sign_ data - Signing-data to claim slot ownership during block production.
- ticket_
body_ sign_ data - Data to be signed via ring-vrf.
- ticket_
id_ input - VRF input to generate the ticket id.
Type Aliases§
- Ring
Context - Bandersnatch VRF
RingContext
specialization for Sassafras usingRING_SIZE
. - Ring
Prover - Ring
Verifier