Re: [bitcoin-dev] Extending BIP174 for HTLCs

2018-09-04 Thread Pieter Wuille via bitcoin-dev
On Tue, Sep 4, 2018, 04:32 Alex Bosworth via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > I've been experimenting with a format tag for BIP 174 to help support > HTLC scripts I've been working with. > I've been thinking about this as well. A useful way to look at it IMHO is to s

[bitcoin-dev] Extending BIP174 for HTLCs

2018-09-04 Thread Alex Bosworth via bitcoin-dev
I've been experimenting with a format tag for BIP 174 to help support HTLC scripts I've been working with. Not sure on the best format for this, but what I have been thinking about is a new input type that defines elements that should be inserted in the final p2sh/p2wsh stack such as a preimage or