diff options
author | ZmnSCPxj <ZmnSCPxj@protonmail.com> | 2019-03-14 05:22:59 +0000 |
---|---|---|
committer | bitcoindev <bitcoindev@gnusha.org> | 2019-03-14 05:23:08 +0000 |
commit | c6d09847ce2698abb2028d41f38a1d0e15ab09cf (patch) | |
tree | 1745816889b6738313b39f60548ed1362f0b2d02 /d6 | |
parent | 2a55f0d9229978f5d7c120828cd5f02acef5dd86 (diff) | |
download | pi-bitcoindev-c6d09847ce2698abb2028d41f38a1d0e15ab09cf.tar.gz pi-bitcoindev-c6d09847ce2698abb2028d41f38a1d0e15ab09cf.zip |
Re: [bitcoin-dev] [Lightning-dev] More thoughts on NOINPUT safety
Diffstat (limited to 'd6')
-rw-r--r-- | d6/34f9f9e8b1ac1b1f31aa88cfb66cc269c30c90 | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/d6/34f9f9e8b1ac1b1f31aa88cfb66cc269c30c90 b/d6/34f9f9e8b1ac1b1f31aa88cfb66cc269c30c90 new file mode 100644 index 000000000..f965f09cf --- /dev/null +++ b/d6/34f9f9e8b1ac1b1f31aa88cfb66cc269c30c90 @@ -0,0 +1,83 @@ +Return-Path: <ZmnSCPxj@protonmail.com> +Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org + [172.17.192.35]) + by mail.linuxfoundation.org (Postfix) with ESMTPS id 74997EC0; + Thu, 14 Mar 2019 05:23:08 +0000 (UTC) +X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 +X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 +Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch + [185.70.40.136]) + by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DC38584F; + Thu, 14 Mar 2019 05:23:07 +0000 (UTC) +Date: Thu, 14 Mar 2019 05:22:59 +0000 +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; + s=default; t=1552540985; + bh=/y2gRQqBzHFrDT3+XDyGzBz+rT5OqIGNydilaPclOOw=; + h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: + Feedback-ID:From; + b=Eb0SOTffmNoUCKrtbUWfh9s6HZ2fvoWLLlnU3TIfWChjb2eJ2fQe6aj5iy4HV22Kc + pXJaBQnR/80z97ZjGOExUTC7Q+L3VBWZDmaHeChdxuwqL+B35WTs2Dgt9KCoObqMYi + 5HRg/ER5KYlfo8ak5foelY4W2p3SK3lTHSJuHaLY= +To: Anthony Towns <aj@erisian.com.au> +From: ZmnSCPxj <ZmnSCPxj@protonmail.com> +Reply-To: ZmnSCPxj <ZmnSCPxj@protonmail.com> +Message-ID: <Au1N1itlfJk5MRV-KoKfmL9BgOGBW1Pdq9vRr-PBVVJfpRngTmpuTmbF5wCAkBSsUvMt3maA3e-VVr-WDDdwh2-XVeCOLjxVsOxABm7cfpU=@protonmail.com> +In-Reply-To: <20190313111050.qj3s6utpl2x34sam@erisian.com.au> +References: <20190313014143.ifffshwdux2jt7w5@erisian.com.au> + <gs0Aizmvb8U11-Uz4RUqrEwgu00deU3JRhwHWbPjn8g1lZV3iaydqoYP3tldfrflHRC2HHJEZtAOVeYdaOW-chMcRdPVSiNYmqT6jSPnL1c=@protonmail.com> + <20190313111050.qj3s6utpl2x34sam@erisian.com.au> +Feedback-ID: el4j0RWPRERue64lIQeq9Y2FP-mdB86tFqjmrJyEPR9VAtMovPEo9tvgA0CrTsSHJeeyPXqnoAu6DN-R04uJUg==:Ext:ProtonMail +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable +X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, + RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 +X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on + smtp1.linux-foundation.org +X-Mailman-Approved-At: Thu, 14 Mar 2019 07:29:32 +0000 +Cc: "bitcoin-dev@lists.linuxfoundation.org" + <bitcoin-dev@lists.linuxfoundation.org>, + "lightning-dev@lists.linuxfoundation.org" + <lightning-dev@lists.linuxfoundation.org> +Subject: Re: [bitcoin-dev] [Lightning-dev] More thoughts on NOINPUT safety +X-BeenThere: bitcoin-dev@lists.linuxfoundation.org +X-Mailman-Version: 2.1.12 +Precedence: list +List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org> +List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, + <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> +List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> +List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> +List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> +List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, + <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe> +X-List-Received-Date: Thu, 14 Mar 2019 05:23:08 -0000 + +Good morning aj, + +When reading through your original post I saw you mentioned something about= + output tagging somehow conflicting with Taproot, so I assumed Taproot is n= +ot useable in this case. +However, it is probably more likely that I simply misunderstood what you sa= +id, so if you can definitively say that it would be possible to hide the cl= +ause "or a NOINPUT sig from A with a non-NOINPUT sig from B" behind a Tapro= +ot then I am fine. + +Minor pointless reactions: + +> 5. if you're using scriptless scripts to do HTLCs, you'll need to +> allow for NOINPUT sigs when claiming funds as well (and update +> the partial signatures for the non-NOINPUT cases if you want to +> maximise privacy), which is a bit fiddly + +If I remember accurately, we do not allow bilateral/cooperative close when = +HTLC is in-flight. +However, I notice that later you point out that a non-cheating unilateral c= +lose does not need NOINPUT, so I suppose. the above thought applies to that= + case. + + +Regards, +ZmnSCPxj + |