[c-lightning] PSBTs in CL

lisa neigut niftynei at gmail.com
Tue May 4 22:21:04 AEST 2021


Responded on issue but wanted to close the loop here as well. The
dual-funding spec explicitly requires Segwit inputs and these are checked
on receipt.

As for single-funded PSBTs, we only recently added the ability to sanity
check them, we can add a “no segwit” check there.

Cheers
Lisa

On Fri, Apr 30, 2021 at 22:53 Rusty Russell <rusty at rustcorp.com.au> wrote:

> Eugene Siegel <elzeigel at gmail.com> writes:
> > Hi, I would ask this on IRC but for some reason I can't successfully send
> > messages.
> >
> > Anyways,
> > In lnd, we did not verify funding PSBTs only used segwit inputs (but now
> do
> > as of https://github.com/lightningnetwork/lnd/pull/5165).  I know that
> > c-lightning also has PSBTs, is this something that's checked?
>
> Hmm, excellent question!
>
> There are two cases in c-lightning: one is where you provide a PSBT for
> a standard funding transaction, and the other is where you add an input
> for dual-funding.  It would be nice to sanity check the former, and
> require it in the spec for the latter.
>
> I've opened an issue to track this, and assigned it to Lisa:
>
> https://github.com/ElementsProject/lightning/issues/4500
>
> Thanks!
> Rusty.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/c-lightning/attachments/20210504/ec1d8f00/attachment.htm>


More information about the c-lightning mailing list