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

Hydra.Cardano.Api.ChainPoint

Synopsis

Documentation

getChainPoint :: BlockHeader -> ChainPoint Source #

Get the chain point corresponding to a given BlockHeader.

Generators

genChainPoint :: Gen ChainPoint Source #

Generate a chain point with a likely invalid block header hash.

genChainPointAt :: SlotNo -> Gen ChainPoint Source #

Generate a chain point at given slot with a likely invalid block header hash.

Orphans

Orphan instances