Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getPrevIns :: SpendCondition r => Tx -> r -> [InputG P2SH r ()]
- singlePrevIn :: (Show r, SpendCondition r) => Tx -> r -> Word32 -> Either (PickOutError r) (InputG P2SH r ())
- data PickOutError r
- module Bitcoin.Util
Documentation
getPrevIns :: SpendCondition r => Tx -> r -> [InputG P2SH r ()] Source #
Create inputs that redeem outputs paying to the given (P2SH) redeemScript
singlePrevIn :: (Show r, SpendCondition r) => Tx -> r -> Word32 -> Either (PickOutError r) (InputG P2SH r ()) Source #
data PickOutError r Source #
Eq r => Eq (PickOutError r) Source # | |
SpendCondition r => Show (PickOutError r) Source # | |
Generic (PickOutError r) Source # | |
ToJSON r => ToJSON (PickOutError r) Source # | |
FromJSON r => FromJSON (PickOutError r) Source # | |
Serialize r => Serialize (PickOutError r) Source # | |
NFData r => NFData (PickOutError r) Source # | |
type Rep (PickOutError r) Source # | |
module Bitcoin.Util