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