Safe Haskell | None |
---|
Arbitrary instances for wallet data types.
- genPubKeyC :: Gen PubKey
- genMulSigInput :: Gen ScriptHashInput
- genRegularInput :: Gen TxIn
- genAddrOutput :: Gen TxOut
- data RegularTx = RegularTx Tx
- data MSParam = MSParam Int Int
Documentation
genPubKeyC :: Gen PubKeySource
Generate an arbitrary compressed public key.
genMulSigInput :: Gen ScriptHashInputSource
Generate an arbitrary script hash input spending a multisignature pay to script hash.
genRegularInput :: Gen TxInSource
Generate an arbitrary transaction input spending a public key hash or script hash output.
genAddrOutput :: Gen TxOutSource
Generate an arbitrary output paying to a public key hash or script hash address.
Data type for generating arbitrary transaction with inputs and outputs consisting only of script hash or pub key hash scripts.