gini-core-gen-0.1.0.0
Gini.Core.Protocol.Types.MessageGen
Contents
Methods
genValid :: Gen Message
shrinkValid :: Message -> [Message]
genValid :: Gen MessageBody
shrinkValid :: MessageBody -> [MessageBody]
genValid :: Gen NetworkId
shrinkValid :: NetworkId -> [NetworkId]
genValid :: Gen MessageType
shrinkValid :: MessageType -> [MessageType]
genValid :: Gen KeepAliveMessage
shrinkValid :: KeepAliveMessage -> [KeepAliveMessage]
genValid :: Gen Peer
shrinkValid :: Peer -> [Peer]
genValid :: Gen RawPeer
shrinkValid :: RawPeer -> [RawPeer]
genValid :: Gen ConfirmReqMessage
shrinkValid :: ConfirmReqMessage -> [ConfirmReqMessage]
genValid :: Gen BlockHashPairs
shrinkValid :: BlockHashPairs -> [BlockHashPairs]
genValid :: Gen ConfirmAckMessage
shrinkValid :: ConfirmAckMessage -> [ConfirmAckMessage]
genValid :: Gen ConfirmAckVoteBy
shrinkValid :: ConfirmAckVoteBy -> [ConfirmAckVoteBy]
genValid :: Gen VoteByHashes
shrinkValid :: VoteByHashes -> [VoteByHashes]
genValid :: Gen BulkPullMessage
shrinkValid :: BulkPullMessage -> [BulkPullMessage]
genValid :: Gen BulkPushMessage
shrinkValid :: BulkPushMessage -> [BulkPushMessage]
genValid :: Gen FrontierReqMessage
shrinkValid :: FrontierReqMessage -> [FrontierReqMessage]
genValid :: Gen NodeIdHandshakeMessage
shrinkValid :: NodeIdHandshakeMessage -> [NodeIdHandshakeMessage]
genValid :: Gen Cookie
shrinkValid :: Cookie -> [Cookie]
genValid :: Gen NodeIdHandshakeResponse
shrinkValid :: NodeIdHandshakeResponse -> [NodeIdHandshakeResponse]
genValid :: Gen BulkPullAccountMessage
shrinkValid :: BulkPullAccountMessage -> [BulkPullAccountMessage]
genValid :: Gen BulkPullAccountFlags
shrinkValid :: BulkPullAccountFlags -> [BulkPullAccountFlags]
genValid :: Gen PortNumber
shrinkValid :: PortNumber -> [PortNumber]
genUnchecked :: Gen NetworkId
shrinkUnchecked :: NetworkId -> [NetworkId]
genUnchecked :: Gen MessageType
shrinkUnchecked :: MessageType -> [MessageType]
genUnchecked :: Gen RawPeer
shrinkUnchecked :: RawPeer -> [RawPeer]
genUnchecked :: Gen PortNumber
shrinkUnchecked :: PortNumber -> [PortNumber]