Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Vout = Word32
- type Hours = Word
- type BtcConf = Word
- data ChannelStatus
- data ErrorType
- data PaymentResult = PaymentResult {}
- data FundingInfo = FundingInfo {
- fundingInfoServerPubkey :: Server PubKey
- fundingInfoDustLimit :: Word64
- fundingInfoFundingAddressCopy :: Address
- fundingInfoRedeem_scriptCopy :: JsonHex Script
- fundingInfoOpenPrice :: Word64
- fundingInfoFunding_tx_min_conf :: BtcConf
- fundingInfoSettlement_period_hours :: Hours
- fundingInfoMin_duration_hours :: Hours
- data Error = Error {}
- data PaymentData = PaymentData {}
- data Payment = Payment {}
- data ChannelLocation = ChannelLocation {}
- removeFieldLabelPrefix :: Bool -> String -> Options
- data JsonHex a = JsonHex {
- fromHex :: a
Documentation
data ChannelStatus Source #
data PaymentResult Source #
PaymentResult | |
|
data FundingInfo Source #
FundingInfo | |
|
Error response type
Error | |
|
data PaymentData Source #
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 | |
|
A wrapper that contains both payment data and application data
Payment | |
|
data ChannelLocation Source #
ChannelLocation | |
|