Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
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.