Safe Haskell | None |
---|---|
Language | Haskell2010 |
- fromPaymentData :: HasConfDustLimit m => BtcAmount -> PaymentData -> m (Either ParseError (Payment BtcSig))
- toPaymentData :: Payment BtcSig -> PaymentData
- data PaymentData :: * = PaymentData {}
- data ParseError
- parseRedeemScript :: PaymentData -> Either ParseError ChanParams
Documentation
fromPaymentData :: HasConfDustLimit m => BtcAmount -> PaymentData -> m (Either ParseError (Payment BtcSig)) Source #
toPaymentData :: Payment BtcSig -> PaymentData Source #
data PaymentData :: * #
A payment comprises a signature over a Bitcoin transaction with a decremented client change value. The Bitcoin transaction redeems the outpoint specified by 'funding_txid' and 'funding_vout' (a P2SH output governed by 'redeem_script'), and pays 'change_value' to 'change_address'.
PaymentData | |
|
data ParseError Source #