Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type Mock c = (PraosCrypto c, Signable (KES c) ~ SignableRepresentation, Signable (DSIGN c) ~ SignableRepresentation, Signable (VRF c) Seed)
- type ExMock c = (Mock c, Num (SignKeyDSIGN (DSIGN c)), Num (VerKeyDSIGN (DSIGN c)), VRF c ~ FakeVRF)
- data C_Crypto
- type C = ShelleyEra C_Crypto
- type TestCrypto = C_Crypto
- data StandardCrypto
Documentation
type Mock c = (PraosCrypto c, Signable (KES c) ~ SignableRepresentation, Signable (DSIGN c) ~ SignableRepresentation, Signable (VRF c) Seed) Source #
Mocking constraints used in generators
type ExMock c = (Mock c, Num (SignKeyDSIGN (DSIGN c)), Num (VerKeyDSIGN (DSIGN c)), VRF c ~ FakeVRF) Source #
Additional mocking constraints used in examples.
type C = ShelleyEra C_Crypto Source #
type TestCrypto = C_Crypto Source #
data StandardCrypto Source #
The same crypto used on the net
Instances
Crypto StandardCrypto | |
Defined in Cardano.Ledger.Crypto type HASH StandardCrypto Source # type ADDRHASH StandardCrypto Source # type DSIGN StandardCrypto Source # type KES StandardCrypto Source # type VRF StandardCrypto Source # | |
PraosCrypto StandardCrypto | |
Defined in Cardano.Protocol.TPraos.API | |
type ADDRHASH StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type DSIGN StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type HASH StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type KES StandardCrypto | |
Defined in Cardano.Ledger.Crypto | |
type VRF StandardCrypto | |
Defined in Cardano.Ledger.Crypto |