cardano-protocol-tpraos-1.3.0.0: Cardano Protocol: Transitional Praos
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Protocol.Crypto.VRF.Fake

Description

Fake implementation of VRF, where the random value isn't random but given by the creator.

Synopsis

Documentation

newtype NatNonce Source #

We provide our own nonces to mkBlock, which we then wish to recover as the output of the VRF functions. In general, however, we just derive them from a natural. Since the nonce is a hash, we do not want to recover it to find a preimage. In testing, therefore, we just wrap the raw natural, which we then encode into the fake VRF implementation.

Constructors

NatNonce Natural 

data FakeVRF Source #

Instances

Instances details
VRFAlgorithm FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Generic (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Associated Types

type Rep (CertVRF FakeVRF) ∷ TypeType Source #

Generic (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Associated Types

type Rep (SignKeyVRF FakeVRF) ∷ TypeType Source #

Generic (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Associated Types

type Rep (VerKeyVRF FakeVRF) ∷ TypeType Source #

Show (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Show (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Show (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

DecCBOR (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

DecCBOR (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

DecCBOR (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

EncCBOR (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Methods

encCBORCertVRF FakeVRFEncoding Source #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (CertVRF FakeVRF) → Size Source #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [CertVRF FakeVRF] → Size Source #

EncCBOR (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

EncCBOR (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Eq (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Eq (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Eq (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Ord (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Ord (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Ord (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

NoThunks (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

NoThunks (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

NoThunks (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

data CertVRF FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type ContextVRF FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

newtype SignKeyVRF FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Signable FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

newtype VerKeyVRF FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (CertVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (CertVRF FakeVRF) = D1 ('MetaData "CertVRF" "Test.Cardano.Protocol.Crypto.VRF.Fake" "cardano-protocol-tpraos-1.3.0.0-inplace-testlib" 'False) (C1 ('MetaCons "CertFakeVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (OutputVRF FakeVRF)))))
type Rep (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (SignKeyVRF FakeVRF) = D1 ('MetaData "SignKeyVRF" "Test.Cardano.Protocol.Crypto.VRF.Fake" "cardano-protocol-tpraos-1.3.0.0-inplace-testlib" 'True) (C1 ('MetaCons "SignKeyFakeVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type Rep (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (VerKeyVRF FakeVRF) = D1 ('MetaData "VerKeyVRF" "Test.Cardano.Protocol.Crypto.VRF.Fake" "cardano-protocol-tpraos-1.3.0.0-inplace-testlib" 'True) (C1 ('MetaCons "VerKeyFakeVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

data family VerKeyVRF v Source #

Instances

Instances details
Generic (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (VerKeyVRF MockVRF) ∷ TypeType Source #

Generic (VerKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (VerKeyVRF NeverVRF) ∷ TypeType Source #

Generic (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (VerKeyVRF SimpleVRF) ∷ TypeType Source #

Generic (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep (VerKeyVRF PraosVRF) ∷ TypeType Source #

Generic (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep (VerKeyVRF PraosBatchCompatVRF) ∷ TypeType Source #

Generic (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Associated Types

type Rep (VerKeyVRF FakeVRF) ∷ TypeType Source #

Show (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Show (VerKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Show (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Show (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Show (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

FromCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

FromCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

FromCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

FromCBOR (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

ToCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

ToCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

ToCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

ToCBOR (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

DecCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

DecCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

DecCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

DecCBOR (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

EncCBOR (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

EncCBOR (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

EncCBOR (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

EncCBOR (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

NFData (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

rnfVerKeyVRF SimpleVRF → () Source #

NFData (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

rnfVerKeyVRF PraosVRF → () Source #

NFData (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Eq (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Eq (VerKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Eq (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Eq (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Eq (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Ord (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Ord (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

(TypeError ('Text "Ord not supported for verification keys, use the hash instead") ∷ Constraint, Eq (VerKeyVRF v)) ⇒ Ord (VerKeyVRF v) 
Instance details

Defined in Cardano.Crypto.VRF.Class

NoThunks (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

NoThunks (VerKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

NoThunks (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

NoThunks (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

NoThunks (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

newtype VerKeyVRF MockVRF 
Instance details

Defined in Cardano.Crypto.VRF.Mock

data VerKeyVRF NeverVRF 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

newtype VerKeyVRF SimpleVRF 
Instance details

Defined in Cardano.Crypto.VRF.Simple

newtype VerKeyVRF PraosVRF 
Instance details

Defined in Cardano.Crypto.VRF.Praos

newtype VerKeyVRF PraosBatchCompatVRF 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

newtype VerKeyVRF FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

type Rep (VerKeyVRF MockVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.Mock" "cardano-crypto-class-2.1.5.0-fc0828bd2af85c38ba7498d7561562475ccb5e0877bbc755362c31425fd3a7fb" 'True) (C1 ('MetaCons "VerKeyMockVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type Rep (VerKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (VerKeyVRF NeverVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.1.5.0-fc0828bd2af85c38ba7498d7561562475ccb5e0877bbc755362c31425fd3a7fb" 'False) (C1 ('MetaCons "NeverUsedVerKeyVRF" 'PrefixI 'False) (U1TypeType))
type Rep (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

type Rep (VerKeyVRF SimpleVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.Simple" "cardano-crypto-class-2.1.5.0-fc0828bd2af85c38ba7498d7561562475ccb5e0877bbc755362c31425fd3a7fb" 'True) (C1 ('MetaCons "VerKeySimpleVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Point)))
type Rep (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

type Rep (VerKeyVRF PraosVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.Praos" "cardano-crypto-praos-2.1.2.0-8a2c884be10d2a34c261e01079b72de927820b6a0d23705aa7a6e54a4012c896" 'True) (C1 ('MetaCons "VerKeyPraosVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VerKey)))
type Rep (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

type Rep (VerKeyVRF PraosBatchCompatVRF) = D1 ('MetaData "VerKeyVRF" "Cardano.Crypto.VRF.PraosBatchCompat" "cardano-crypto-praos-2.1.2.0-8a2c884be10d2a34c261e01079b72de927820b6a0d23705aa7a6e54a4012c896" 'True) (C1 ('MetaCons "VerKeyPraosBatchCompatVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VerKey)))
type Rep (VerKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (VerKeyVRF FakeVRF) = D1 ('MetaData "VerKeyVRF" "Test.Cardano.Protocol.Crypto.VRF.Fake" "cardano-protocol-tpraos-1.3.0.0-inplace-testlib" 'True) (C1 ('MetaCons "VerKeyFakeVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

data family SignKeyVRF v Source #

Instances

Instances details
Generic (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (SignKeyVRF MockVRF) ∷ TypeType Source #

Generic (SignKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (SignKeyVRF NeverVRF) ∷ TypeType Source #

Generic (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (SignKeyVRF SimpleVRF) ∷ TypeType Source #

Generic (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep (SignKeyVRF PraosVRF) ∷ TypeType Source #

Generic (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep (SignKeyVRF PraosBatchCompatVRF) ∷ TypeType Source #

Generic (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Associated Types

type Rep (SignKeyVRF FakeVRF) ∷ TypeType Source #

Show (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Show (SignKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Show (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Show (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Show (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Show (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

FromCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

FromCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

FromCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

FromCBOR (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

ToCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

ToCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

ToCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

ToCBOR (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

DecCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

DecCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

DecCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

DecCBOR (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

EncCBOR (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

EncCBOR (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

EncCBOR (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

EncCBOR (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

NFData (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Methods

rnfSignKeyVRF SimpleVRF → () Source #

NFData (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Methods

rnfSignKeyVRF PraosVRF → () Source #

NFData (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Eq (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Eq (SignKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Eq (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Eq (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Eq (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Eq (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Ord (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Ord (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

(TypeError ('Text "Ord not supported for signing keys, use the hash instead") ∷ Constraint, Eq (SignKeyVRF v)) ⇒ Ord (SignKeyVRF v) 
Instance details

Defined in Cardano.Crypto.VRF.Class

NoThunks (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

NoThunks (SignKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

NoThunks (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

NoThunks (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

NoThunks (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

NoThunks (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

newtype SignKeyVRF MockVRF 
Instance details

Defined in Cardano.Crypto.VRF.Mock

data SignKeyVRF NeverVRF 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

newtype SignKeyVRF SimpleVRF 
Instance details

Defined in Cardano.Crypto.VRF.Simple

newtype SignKeyVRF PraosVRF 
Instance details

Defined in Cardano.Crypto.VRF.Praos

newtype SignKeyVRF PraosBatchCompatVRF 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

newtype SignKeyVRF FakeVRF Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

type Rep (SignKeyVRF MockVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.Mock" "cardano-crypto-class-2.1.5.0-fc0828bd2af85c38ba7498d7561562475ccb5e0877bbc755362c31425fd3a7fb" 'True) (C1 ('MetaCons "SignKeyMockVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))
type Rep (SignKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

type Rep (SignKeyVRF NeverVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.NeverUsed" "cardano-crypto-class-2.1.5.0-fc0828bd2af85c38ba7498d7561562475ccb5e0877bbc755362c31425fd3a7fb" 'False) (C1 ('MetaCons "NeverUsedSignKeyVRF" 'PrefixI 'False) (U1TypeType))
type Rep (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

type Rep (SignKeyVRF SimpleVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.Simple" "cardano-crypto-class-2.1.5.0-fc0828bd2af85c38ba7498d7561562475ccb5e0877bbc755362c31425fd3a7fb" 'True) (C1 ('MetaCons "SignKeySimpleVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrivateNumber)))
type Rep (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

type Rep (SignKeyVRF PraosVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.Praos" "cardano-crypto-praos-2.1.2.0-8a2c884be10d2a34c261e01079b72de927820b6a0d23705aa7a6e54a4012c896" 'True) (C1 ('MetaCons "SignKeyPraosVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignKey)))
type Rep (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

type Rep (SignKeyVRF PraosBatchCompatVRF) = D1 ('MetaData "SignKeyVRF" "Cardano.Crypto.VRF.PraosBatchCompat" "cardano-crypto-praos-2.1.2.0-8a2c884be10d2a34c261e01079b72de927820b6a0d23705aa7a6e54a4012c896" 'True) (C1 ('MetaCons "SignKeyPraosBatchCompatVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignKey)))
type Rep (SignKeyVRF FakeVRF) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

type Rep (SignKeyVRF FakeVRF) = D1 ('MetaData "SignKeyVRF" "Test.Cardano.Protocol.Crypto.VRF.Fake" "cardano-protocol-tpraos-1.3.0.0-inplace-testlib" 'True) (C1 ('MetaCons "SignKeyFakeVRF" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

data WithResult a Source #

Constructors

WithResult !a !Word64 

Instances

Instances details
Show a ⇒ Show (WithResult a) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Eq a ⇒ Eq (WithResult a) Source # 
Instance details

Defined in Test.Cardano.Protocol.Crypto.VRF.Fake

Methods

(==)WithResult a → WithResult a → Bool Source #

(/=)WithResult a → WithResult a → Bool Source #