<oembed><type>rich</type><version>1.0</version><author_name>npub1wtx5qvewc7pd6znlvwktq03mdld05mv3h5dkzfwd3dc30gdmsptsugtuyn</author_name><author_url>https://nostr.ae/npub1wtx5qvewc7pd6znlvwktq03mdld05mv3h5dkzfwd3dc30gdmsptsugtuyn</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-05-17&#xA;📝 Original message:ZmnSCPxj via bitcoin-dev &lt;bitcoin-dev at lists.linuxfoundation.org&gt; writes:&#xA;&#xA;&gt; Good morning Rusty and list,&#xA;&gt;&#xA;&gt;&gt; Your zero-val-OP_TRUE-can&#39;t-be-spent-after-same-block SF is&#xA;&gt;&gt; interesting,&#xA;&gt;&gt; &#xA;&gt;&gt; but if we want a SF just give us SIGHASH_NOINPUT and we&#39;ll not need&#xA;&gt;&gt; this&#xA;&gt;&gt; &#xA;&gt;&gt; at all (though others still might).&#xA;&gt;&#xA;&gt; We might still want this in general in Lightning; for instance we&#xA;&gt; could make every funding transaction include such an output.  If it&#xA;&gt; turns out, our initial feerate estimate for the funding transaction is&#xA;&gt; low, we can use the `OP_TRUE` for fee-bumping.  This is a win for&#xA;&gt; Lightning since the funding transaction ID remains the same (even in&#xA;&gt; Decker-Russell-Osuntokun, the trigger transaction is signed with&#xA;&gt; `SIGHASH_ALL`, and refers to a fixed funding transaction ID).&#xA;&gt;&#xA;&gt; Without the `OP_TRUE`-for-fee-bump, we would have to pretend to open a&#xA;&gt; new different channel and RBF the old funding transaction with a new&#xA;&gt; higher-feerate funding transaction, then keep track of which one gets&#xA;&gt; confirmed deeply (there is a race where a miner discovers a block&#xA;&gt; using the older funding transaction before our broadcast of the new&#xA;&gt; funding transaction reaches it).&#xA;&gt;&#xA;&gt; (we could also feebump using the change output of the funding&#xA;&gt; transaction, but such a change output might not exist for all funding&#xA;&gt; transactions.)&#xA;&#xA;This would only really help in the case of the funding tx not having a&#xA;change output, which I believe will be very rare. In the case of a&#xA;change output we can simply do a CPFP which includes the change output.</html></oembed>