Copyright | No rights reserved |
---|---|
License | MIT |
Maintainer | jprupp@protonmail.ch |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- arbitraryVarInt :: Gen VarInt
- arbitraryVarString :: Gen VarString
- arbitraryNetworkAddress :: Gen NetworkAddress
- arbitraryNetworkAddressTime :: Gen (Word32, NetworkAddress)
- arbitraryInvType :: Gen InvType
- arbitraryInvVector :: Gen InvVector
- arbitraryInv1 :: Gen Inv
- arbitraryVersion :: Gen Version
- arbitraryAddr1 :: Gen Addr
- arbitraryAlert :: Gen Alert
- arbitraryReject :: Gen Reject
- arbitraryRejectCode :: Gen RejectCode
- arbitraryGetData :: Gen GetData
- arbitraryNotFound :: Gen NotFound
- arbitraryPing :: Gen Ping
- arbitraryPong :: Gen Pong
- arbitraryBloomFlags :: Gen BloomFlags
- arbitraryBloomFilter :: Gen (Int, Double, BloomFilter)
- arbitraryFilterLoad :: Gen FilterLoad
- arbitraryFilterAdd :: Gen FilterAdd
- arbitraryMessageCommand :: Gen MessageCommand
Documentation
arbitraryNetworkAddress :: Gen NetworkAddress Source #
Arbitrary NetworkAddress
.
arbitraryNetworkAddressTime :: Gen (Word32, NetworkAddress) Source #
Arbitrary NetworkAddressTime
.
arbitraryAlert :: Gen Alert Source #
Arbitrary Alert
with random payload and signature. Signature is not
valid.
arbitraryRejectCode :: Gen RejectCode Source #
Arbitrary RejectCode
.
arbitraryBloomFlags :: Gen BloomFlags Source #
Arbitrary bloom filter flags.
arbitraryBloomFilter :: Gen (Int, Double, BloomFilter) Source #
Arbitrary bloom filter with its corresponding number of elements and false positive rate.
arbitraryFilterLoad :: Gen FilterLoad Source #
Arbitrary FilterLoad
.
arbitraryMessageCommand :: Gen MessageCommand Source #
Arbitrary MessageCommand
.