btc-lsp-0.1.0.0: Lightning service provider
Safe HaskellSafe-Inferred
LanguageHaskell2010

BtcLsp.Psbt.Utils

Documentation

psbtShim :: PendingChannelId -> PsbtShim Source #

fundPsbtReq :: [OutPoint] -> Map Text MSat -> FundPsbtRequest Source #

openChannelReq :: PendingChannelId -> NodePubKey -> Money 'Lsp 'Ln 'Gain -> Money 'Usr 'Ln 'Gain -> Privacy -> OpenChannelRequest Source #

psbtVerifyReq :: PendingChannelId -> Psbt -> FundingStateStepRequest Source #

psbtFinalizeReq :: PendingChannelId -> Psbt -> FundingStateStepRequest Source #

finalizePsbt :: Env m => Psbt -> ExceptT Failure m FinalizePsbtResponse Source #

unspendUtxoLookup :: Env m => ExceptT Failure m (Map OutPoint Utxo) Source #

shimCancelReq :: PendingChannelId -> FundingStateStepRequest Source #

releaseUtxosLocks :: Env m => [UtxoLease] -> ExceptT Failure m () Source #

newLockId :: OutPoint -> UtxoLockId Source #

lockUtxo :: Env m => OutPoint -> ExceptT Failure m UtxoLease Source #

lockUtxos :: Env m => [OutPoint] -> ExceptT Failure m [UtxoLease] Source #