cardano-protocol-0.1.1.0: Cardano Protocol: shared crypto and block-header definitions
Safe HaskellNone
LanguageHaskell2010

Test.Cardano.Protocol.Praos.BlockHeader.Arbitrary

Orphan instances

Arbitrary InputVRF Source # 
Instance details

(Crypto c, Signable (VRF c) ~ SignableRepresentation, Signable (KES c) ~ SignableRepresentation) ⇒ Arbitrary (Header c) Source # 
Instance details

Methods

arbitraryGen (Header c) Source #

shrinkHeader c → [Header c] Source #

(Crypto c, Signable (VRF c) ~ SignableRepresentation) ⇒ Arbitrary (HeaderBody c) Source # 
Instance details

Crypto c ⇒ DecCBOR (Header c) Source # 
Instance details

Methods

decCBORDecoder s (Header c) Source #

dropCBORProxy (Header c) → Decoder s () Source #

labelProxy (Header c) → Text Source #

(Crypto c, EraBlockBody era, Signable (KES c) ~ SignableRepresentation, Signable (VRF c) ~ SignableRepresentation, Arbitrary (BlockBody era)) ⇒ Arbitrary (Block (Header c) era) Source # 
Instance details

Methods

arbitraryGen (Block (Header c) era) Source #

shrinkBlock (Header c) era → [Block (Header c) era] Source #