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

Modulebyron-spec-ledger-1.1.0.1Haskell2010

Byron.Spec.Ledger.Core.Omniscient

Functions that are intended to be used in tests, but not in the executable specifications. These functions are not possible in practice (like recovering the signed data from the signature only), but are possible for the abstract data we use in the specifications.

  • 4 values
valuesignatureVKey :: Sig a -> VKey
#

Extract the verifying key of a signature. This is useful when elaborating an abstract signature into a concrete one.

valueskey :: VKey -> SKey
#

Get the signing key from the verification key. We use this in the generators, where we need to generate signed data for a given verification key (e.g. one that appears in the delegation map) for which we don't have the signing key.