summaryrefslogtreecommitdiff
path: root/25/20fe9fd8e0bb6d720003566b6ac54df9f752dd
blob: dfdcb86c6c7b073dd3c4506950d502473e1b9cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Return-Path: <luke@dashjr.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id D4E1B20ED
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 19 Feb 2019 20:24:52 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from zinan.dashjr.org (zinan.dashjr.org [192.3.11.21])
	by smtp1.linuxfoundation.org (Postfix) with ESMTP id C2DC67E9
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Tue, 19 Feb 2019 20:24:51 +0000 (UTC)
Received: from [2001:470:5:265:a45d:823b:2d27:961c] (unknown
	[IPv6:2001:470:5:265:a45d:823b:2d27:961c])
	(Authenticated sender: luke-jr)
	by zinan.dashjr.org (Postfix) with ESMTPSA id 15D1638A0C83;
	Tue, 19 Feb 2019 20:24:16 +0000 (UTC)
X-Hashcash: 1:25:190219:jl2012@xbt.hk::fDIxfMdocbKbYeW5:cDVEW
X-Hashcash: 1:25:190219:bitcoin-dev@lists.linuxfoundation.org::C=up/am=kdGf/EI8:bagRC
From: Luke Dashjr <luke@dashjr.org>
To: Johnson Lau <jl2012@xbt.hk>
Date: Tue, 19 Feb 2019 20:24:12 +0000
User-Agent: KMail/1.9.10 (enterprise35 0.20100827.1168748)
References: <9F8C0789-48E9-448A-A239-DB4AFB902A00@xbt.hk>
	<201902191904.04412.luke@dashjr.org>
	<B58087BD-50F2-40DF-BDF0-8D1FDFDCDE03@xbt.hk>
In-Reply-To: <B58087BD-50F2-40DF-BDF0-8D1FDFDCDE03@xbt.hk>
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <201902192024.13243.luke@dashjr.org>
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
	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: Wed, 06 Mar 2019 00:22:07 +0000
Cc: bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Safer NOINPUT with output tagging
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: Tue, 19 Feb 2019 20:24:53 -0000

Even besides NOINPUT, such a wallet would simply never show a second paymen=
t=20
to the same address (or at least never show it as confirmed, until=20
successfully spent).

At least if tx versions are used, it isn't possible to indicate this=20
requirement in current Bitcoin L1 addresses. scriptPubKey might not be=20
impossible to encode, but it isn't really clear what the purpose of doing s=
o=20
is.

If people don't want to use NOINPUT, they should just not use it. Trying to=
=20
implement a nanny in the protocol is inappropriate and limits what develope=
rs=20
can do who actually want the features.

Luke


On Tuesday 19 February 2019 19:22:07 Johnson Lau wrote:
> This only depends on the contract between the payer and payee. If the
> contract says address reuse is unacceptable, it=E2=80=99s unacceptable. I=
t has
> nothing to do with how the payee spends the coin. We can=E2=80=99t ban ad=
dress
> reuse at protocol level (unless we never prune the chain), so address reu=
se
> could only be prevented at social level.
>
> Using NOINPUT is also a very weak excuse: NOINPUT always commit to the
> value. If the payer reused an address but for different amount, the payee
> can=E2=80=99t claim the coin is lost due to previous NOINPUT use. A much =
stronger
> way is to publish the key after a coin is well confirmed.
>
> > On 20 Feb 2019, at 3:04 AM, Luke Dashjr <luke@dashjr.org> wrote:
> >
> > On Thursday 13 December 2018 12:32:44 Johnson Lau via bitcoin-dev wrote:
> >> While this seems fully compatible with eltoo, is there any other
> >> proposals require NOINPUT, and is adversely affected by either way of
> >> tagging?
> >
> > Yes, this seems to break the situation where a wallet wants to use
> > NOINPUT for everything, including normal L1 payments. For example, in t=
he
> > scenario where address reuse will be rejected/ignored by the recipient
> > unconditionally, and the payee is considered to have burned their
> > bitcoins by attempting it.
> >
> > Luke