summaryrefslogtreecommitdiff
path: root/28/a811bdd1bff37c54748a241fca195577b9f73e
blob: fa00aa98f8acadce1d93776a092f47ce42814b27 (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
Return-Path: <gmaxwell@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 6538192B
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 14 Nov 2015 00:29:52 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-io0-f174.google.com (mail-io0-f174.google.com
	[209.85.223.174])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id DE2E4155
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 14 Nov 2015 00:29:51 +0000 (UTC)
Received: by ioc74 with SMTP id 74so113537636ioc.2
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 13 Nov 2015 16:29:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=4WbcocyAEY5q8yoM1H1+UGMOKqxMODydk/iyzvhnQ2I=;
	b=bva1uI8hPIwlyRoFGlS1fFGKXnLNEFl8yh4awXPB16dST/3QgksvmAAwiAuZzENuL5
	hUlbHPalZWw+AhpxBp+OEeKTQ/VhMmJKtHtmCT8GXfytfL36LRNQuu51K6Wq8A8mJEAF
	Y5j6Rp9jiK8Kao6fAOAgUkBeHcnRch5u1tLOtmsIk3TyKeP400MhZQgK5ClkISzthAEd
	Q5fZ02lR/Dfp2/DvVZb5idmb6+4aVZZhzlJq9140V9p8WXxRfzaRyC0Dq25oem7BvIa0
	j0gd5/bgvc11eKh7AgJjHCEIWyr4IdNgiPE5VcBa4KQTlfTTOZfsJyrUNUL3hXNqCjz6
	6SDw==
MIME-Version: 1.0
X-Received: by 10.107.10.199 with SMTP id 68mr22654887iok.75.1447460991317;
	Fri, 13 Nov 2015 16:29:51 -0800 (PST)
Received: by 10.107.192.199 with HTTP; Fri, 13 Nov 2015 16:29:51 -0800 (PST)
In-Reply-To: <CADm_WcZnOXqcse1LC28ptLyxXJTtbv+RPMfrMamR4xZK3xcK8Q@mail.gmail.com>
References: <1581446.3ZPnhFUSFq@1337h4x0r>
	<CADm_WcZnOXqcse1LC28ptLyxXJTtbv+RPMfrMamR4xZK3xcK8Q@mail.gmail.com>
Date: Sat, 14 Nov 2015 00:29:51 +0000
Message-ID: <CAAS2fgR1RcteCd-RZzi1bUjEsFRVi7DduDBiUkg6+RgHzuL+-Q@mail.gmail.com>
From: Gregory Maxwell <gmaxwell@gmail.com>
To: Jeff Garzik <jgarzik@gmail.com>
Content-Type: text/plain; charset=UTF-8
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM,
	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
Cc: Bitcoin development mailing list <bitcoin-dev@lists.linuxfoundation.org>
Subject: Re: [bitcoin-dev] Contradiction in BIP65 text?
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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: Sat, 14 Nov 2015 00:29:52 -0000

On Fri, Nov 13, 2015 at 11:58 PM, Jeff Garzik via bitcoin-dev
<bitcoin-dev@lists.linuxfoundation.org> wrote:
> On Fri, Nov 13, 2015 at 4:48 PM, xor via bitcoin-dev
> <bitcoin-dev@lists.linuxfoundation.org> wrote:
>>
>> This clearly says that funds can be frozen.
>> Can the BIP65-thing be used to freeze funds or can it not be?
> This language definitely trips up or worries several folks - it's been
> mentioned a few times before.
>
> The user _chooses_ to freeze _their own_ funds.  It is not an unwilling act
> of force, which many assume when they see the phrase "freeze funds."


The most frequent related point of confusion I see is that people have
a dangerously wrong mental model of how scrpitpubkeys work.

It seems people think that wallets will infer whatever they can
possibly spend and display that.  This is not how wallets work, and if
any wallet were ever created like that its users would immediately go
broke (and it's author should be taken out and shot. :) ).

Rather, wallets must only display funds paid to scriptpubkeys (also
addresses) they actually generated or, at least, would have generated.

Otherwise someone can just create a 1 of 2 {them, you}  multisig and
then claw back the coins after you think you've been paid.

As such there is no risk of anyone sneaking in CLTV locked funds for
on you except by virtue of spectacular software bugs that would likely
cause you to destroy funds in a zillion other ways first.