[Lightning-dev] Dual Funding Proposal
rusty at rustcorp.com.au
Fri Nov 30 03:05:03 UTC 2018
lisa neigut <niftynei at gmail.com> writes:
>> * [`2`:`scriptlen`]
>> * [`scriptlen`:`script`]
>> * [`2`:`max_extra_witness_len`]
>> * [`2`:`wscriptlen`]
>> * [`wscriptlen`:`wscript`]
>> `script` here is the `scriptPubKey`? This is needed for `hashPrevouts` in
>> BIP143 I believe.
>> What is the `wscript`? Is this the `scriptCode` in BIP143?
I was thinking the BIP141 witnessScript; this mixes weirdly with P2WPKH
though where the witnessScript does not really exist. So I guess an
empty witnessScript means P2WPKH.
>> Are non-SegWit inputs disallowed?
No, since we'd have a malleability problem :(
More information about the Lightning-dev