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

Test.Cardano.Protocol.TPraos.BlockHeader.Arbitrary

Orphan instances

Arbitrary PrevHash Source # 
Instance details

Arbitrary KESPeriod Source # 
Instance details

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

Methods

arbitraryGen (BHBody c) Source #

shrinkBHBody c → [BHBody c] Source #

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

Methods

arbitraryGen (BHeader c) Source #

shrinkBHeader c → [BHeader c] Source #

Crypto c ⇒ Arbitrary (OCert c) Source # 
Instance details

Methods

arbitraryGen (OCert c) Source #

shrinkOCert c → [OCert c] Source #

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

Methods

decCBORDecoder s (BHeader c) Source #

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

labelProxy (BHeader c) → Text Source #

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

Methods

arbitraryGen (Block (BHeader c) era) Source #

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