Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
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
Arbitrary ChainPoint Source # | |
arbitrary :: Gen ChainPoint # shrink :: ChainPoint -> [ChainPoint] # |