gini-core-gen-0.1.0.0
Gini.Core.Protocol.Types.BlockGen
Contents
Methods
genValid :: Gen SignedBlock
shrinkValid :: SignedBlock -> [SignedBlock]
genValid :: Gen UnsignedBlock
shrinkValid :: UnsignedBlock -> [UnsignedBlock]
genValid :: Gen SendBlock
shrinkValid :: SendBlock -> [SendBlock]
genValid :: Gen ReceiveBlock
shrinkValid :: ReceiveBlock -> [ReceiveBlock]
genValid :: Gen OpenBlock
shrinkValid :: OpenBlock -> [OpenBlock]
genValid :: Gen ChangeBlock
shrinkValid :: ChangeBlock -> [ChangeBlock]
genValid :: Gen StateBlock
shrinkValid :: StateBlock -> [StateBlock]
genValid :: Gen Link
shrinkValid :: Link -> [Link]
genValid :: Gen ProofOfWork
shrinkValid :: ProofOfWork -> [ProofOfWork]
genValid :: Gen BlockHashOrAccount
shrinkValid :: BlockHashOrAccount -> [BlockHashOrAccount]
genValid :: Gen BlockType
shrinkValid :: BlockType -> [BlockType]
genValid :: Gen Raw32ByteValue
shrinkValid :: Raw32ByteValue -> [Raw32ByteValue]
genUnchecked :: Gen ProofOfWork
shrinkUnchecked :: ProofOfWork -> [ProofOfWork]
genUnchecked :: Gen BlockType
shrinkUnchecked :: BlockType -> [BlockType]