| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
RBPCP.Types
- 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 #
Constructors
| ChannelOpen | |
| ChannelClosed |
Constructors
| PaymentError | |
| ApplicationError |
data PaymentResult Source #
Constructors
| PaymentResult | |
Fields
| |
Instances
data FundingInfo Source #
Constructors
| FundingInfo | |
Fields
| |
Instances
Error response type
Constructors
| Error | |
Fields
| |
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'.
Constructors
| PaymentData | |
Fields
| |
Instances
A wrapper that contains both payment data and application data
Constructors
| Payment | |
Fields
| |
data ChannelLocation Source #
Constructors
| ChannelLocation | |
Fields
| |
Instances