From rusty at rustcorp.com.au Fri Nov 30 03:05:03 2018 From: rusty at rustcorp.com.au (Rusty Russell) Date: Fri, 30 Nov 2018 13:35:03 +1030 Subject: [Lightning-dev] Dual Funding Proposal In-Reply-To: References: Message-ID: <87a7lre04g.fsf@rustcorp.com.au> lisa neigut 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 :( Cheers, Rusty.