Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 4A89DAF8 for ; Thu, 10 May 2018 02:13:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ozlabs.org (ozlabs.org [203.11.71.1]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 6E9526B1 for ; Thu, 10 May 2018 02:13:07 +0000 (UTC) Received: by ozlabs.org (Postfix, from userid 1011) id 40hGwJ5ZnWz9s4Z; Thu, 10 May 2018 12:13:04 +1000 (AEST) From: Rusty Russell To: Johnson Lau , bitcoin-dev In-Reply-To: References: <87po25lmzs.fsf@rustcorp.com.au> Date: Thu, 10 May 2018 11:36:41 +0930 Message-ID: <87bmdoe026.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: Re: [bitcoin-dev] Making OP_TRUE standard? X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 02:13:08 -0000 Johnson Lau writes: > You should make a =E2=80=9C0 fee tx with exactly one OP_TRUE output=E2=80= =9D standard, but nothing else. This makes sure CPFP will always be needed,= so the OP_TRUE output won=E2=80=99t pollute the UTXO set That won't propagate :( > Instead, would you consider to use ANYONECANPAY to sign the tx, so it > is possible add more inputs for fees? The total tx size is bigger than > the OP_TRUE approach, but you don=E2=80=99t need to ask for any protocol > change. No, that would change the TXID, which we rely on for HTLC transactions. > In long-term, I think the right way is to have a more flexible SIGHASH sy= stem to allow people to add more inputs and outputs easily. Agreed: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2018-April/015862.h= tml But in the long term we'll have Eltoo and SIGHASH_NOINPUT which both allow different solutions. Cheers, Rusty.