ouroboros-consensus-protocol-0.9.0.2: Cardano consensus protocols
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Consensus.Protocol.Serialisation.Generators

Description

Generators suitable for serialisation. Note that these are not guaranteed to be semantically correct at all, only structurally correct.

Orphan instances

Arbitrary InputVRF Source # 
Instance details

PraosCrypto c ⇒ Arbitrary (PraosState c) Source # 
Instance details

PraosCrypto c ⇒ Arbitrary (Header c) Source # 
Instance details

Methods

arbitraryGen (Header c) Source #

shrinkHeader c → [Header c] Source #

PraosCrypto c ⇒ Arbitrary (HeaderBody c) Source # 
Instance details