<oembed><type>rich</type><version>1.0</version><author_name>npub19helcfnqgk2jrwzjex2aflq6jwfc8zd9uzzkwlgwhve7lykv23mq5zkvn4</author_name><author_url>https://nostr.ae/npub19helcfnqgk2jrwzjex2aflq6jwfc8zd9uzzkwlgwhve7lykv23mq5zkvn4</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-05-09&#xA;📝 Original message:&gt; Instead, would you consider to use ANYONECANPAY to sign the tx, so it is&#xA;&gt; possible add more inputs for fees? The total tx size is bigger than the&#xA;&gt; OP_TRUE approach, but you don’t need to ask for any protocol change.&#xA;&#xA;If one has a &#34;root&#34; commitment with other nested descendent&#xA;multi-transaction contracts, then changing the txid of the root commitment&#xA;will invalidated all the nested multi tx contracts. In our specific case, we&#xA;have pre-signed 2-stage HTLC transaction which rely on a stable txid. As a&#xA;result, we can&#39;t use the ANYONECANPAY approach atm.&#xA;&#xA;&gt; In long-term, I think the right way is to have a more flexible SIGHASH&#xA;&gt; system to allow people to add more inputs and outputs easily.&#xA;&#xA;Agreed, see the recent proposal to introduce SIGHASH_NOINPUT as a new&#xA;sighash type. IMO it presents an opportunity to introduce more flexible fine&#xA;grained sighash inclusion control.&#xA;&#xA;-- Laolu&#xA;&#xA;&#xA;On Wed, May 9, 2018 at 11:12 AM Johnson Lau via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt; You should make a “0 fee tx with exactly one OP_TRUE output” standard, but&#xA;&gt; nothing else. This makes sure CPFP will always be needed, so the OP_TRUE&#xA;&gt; output won’t pollute the UTXO set&#xA;&gt;&#xA;&gt; Instead, would you consider to use ANYONECANPAY to sign the tx, so it is&#xA;&gt; possible add more inputs for fees? The total tx size is bigger than the&#xA;&gt; OP_TRUE approach, but you don’t need to ask for any protocol change.&#xA;&gt;&#xA;&gt; In long-term, I think the right way is to have a more flexible SIGHASH&#xA;&gt; system to allow people to add more inputs and outputs easily.&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt; &gt; On 9 May 2018, at 7:57 AM, Rusty Russell via bitcoin-dev &lt;&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt; &gt;&#xA;&gt; &gt; Hi all,&#xA;&gt; &gt;&#xA;&gt; &gt;        The largest problem we are having today with the lightning&#xA;&gt; &gt; protocol is trying to predict future fees.  Eltoo solves this elegantly,&#xA;&gt; &gt; but meanwhile we would like to include a 546 satoshi OP_TRUE output in&#xA;&gt; &gt; commitment transactions so that we use minimal fees and then use CPFP&#xA;&gt; &gt; (which can&#39;t be done at the moment due to CSV delays on outputs).&#xA;&gt; &gt;&#xA;&gt; &gt; Unfortunately, we&#39;d have to P2SH it at the moment as a raw &#39;OP_TRUE&#39; is&#xA;&gt; &gt; non-standard.  Are there any reasons not to suggest such a policy&#xA;&gt; &gt; change?&#xA;&gt; &gt;&#xA;&gt; &gt; Thanks!&#xA;&gt; &gt; Rusty.&#xA;&gt; &gt; _______________________________________________&#xA;&gt; &gt; bitcoin-dev mailing list&#xA;&gt; &gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; &gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;&gt;&#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180509/e98eb0d4/attachment.html&gt;</html></oembed>