haskoin-core-1.1.0: Bitcoin & Bitcoin Cash library for Haskell
CopyrightNo rights reserved
LicenseMIT
Maintainerjprupp@protonmail.ch
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Haskoin.Util.Arbitrary.Network

Description

 
Synopsis

Documentation

arbitraryInv1 :: Gen Inv Source #

Arbitrary non-empty Inv.

arbitraryAddr1 :: Gen Addr Source #

Arbitrary non-empty Addr.

arbitraryAlert :: Gen Alert Source #

Arbitrary Alert with random payload and signature. Signature is not valid.

arbitraryGetData :: Gen GetData Source #

Arbitrary non-empty GetData.

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.