HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulecardano-protocol-0.1.0.0Haskell2010

Cardano.Protocol.Praos.VRF

  • 2 types
  • 3 values
newtypenewtype InputVRF
#

Input to the verifiable random function. Consists of the hash of the slot and the epoch nonce.

Instances8Eq, Ord, Show, Generic, NoThunks, ToCBOR, …
datadata VRFUsage
#

Indicate the usage of the VRF result.

Constructors

  • VRFLeader

    The VRF value will be used to establish whether the issuing node is indeed a leader for this slot.

  • VRFNonce

    The VRF value will be used to contribute to the evolving nonce.