hydra-cardano-api-0.20.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cardano.Api.BlockHeader

Synopsis

Generators

genBlockHeader :: Gen BlockHeader Source #

Fully arbitrary block header with completely random hash.

genBlockHeaderAt :: SlotNo -> Gen BlockHeader Source #

Generate a random block header with completely random hash, but at a certain slot.

genBlockHeaderHash :: Gen (Hash BlockHeader) Source #

Generate a random block header hash.

Orphans

Orphan instances