summaryrefslogtreecommitdiff
path: root/c5/ffcf4409877413fe63fe5b754cd04d2995db24
blob: 8269e3e63d234aa5a70a501280a008ba3f47f593 (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
107
108
109
110
111
Return-Path: <cryptaxe@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 5AB9DCD6
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed,  6 Dec 2017 21:02:13 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0AA1440D
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed,  6 Dec 2017 21:02:12 +0000 (UTC)
Received: by mail-pg0-f53.google.com with SMTP id k134so2842666pga.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Wed, 06 Dec 2017 13:02:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=subject:to:references:from:message-id:date:user-agent:mime-version
	:in-reply-to:content-transfer-encoding:content-language;
	bh=hfhT4Ms2jvaeuhuLuyPIxm4xkm6FOxbkOEi6Rq9UI2M=;
	b=FgdTSmV5ZY35ghNBsvmkTl5Wtq5hQKKLsc+oX8AdTm+1p87l6eB6ucr5jslJMN6/kZ
	Sy/sJPdaISRZjCmF2WuwEkLbmmJWR57u1QpJQGFieLUO0po129+i3B7sYn9oLd5dHGTg
	rFJKhyhSlQ6MynZ7vg510HKghQT0bkFCEJdEWDNKPqUA0KP2bmhjv0rvXWGqwBVZrnM8
	2ulRDNWpKjcB+wEGkrI7NJr1vRqxP+HhXwpTg7tbYXJq5mZYmNeSFxl2JyLtrwvKtKdo
	ZFynw6hBAkRv4OYfj0LsD4tgBSmLjee5ggiGwZqeHj/1/MmFIBXbfzfoWS5xT9tgu0+n
	73oQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:subject:to:references:from:message-id:date
	:user-agent:mime-version:in-reply-to:content-transfer-encoding
	:content-language;
	bh=hfhT4Ms2jvaeuhuLuyPIxm4xkm6FOxbkOEi6Rq9UI2M=;
	b=k2iiHmM206a/GhZHeBJbPOrbf1jPSSWs9DvvSEn+EA5HWrq7hRsNocOLHV+PkFDKeU
	2oECQAkiyJ5zve3ymmGgOfOkqMpTNT80ww1iUCrbdggAeRqZL20ygtuPUf/vvdDuGQy3
	r68novNMlkFnEk9C2anKhv9rnE8AuVs9gFXv9hffUUwr+HGNYNopGruaKjMGAcCTORXn
	2kpmPsEVuCK94i0hXCXO0wAlUztxgwltdHnoSvp/PXQb36dnxV9fy8/kgb0euWGItjSW
	UzaLAnpFR7E+IiXxHMLTbAfFGZnL+xQcqHh/ETkxjq6mDQMlJREPOWQtnFX8AhLss1pP
	phKA==
X-Gm-Message-State: AJaThX7b9fwYxbWxGVzuIcJO6Rd+SBFQDCryjAFLK0oaotb7QvUGx+Di
	uzKxUdARmuxJpeh8HdSXfwJGb+Hh
X-Google-Smtp-Source: AGs4zMbNGYJZfvzv4cpcgC6qROJLlr2PPQQ2R4IZzI/QsYB4iAo7CSVPclAJq9eoroP/eQW5ks5Iew==
X-Received: by 10.99.55.30 with SMTP id e30mr22128574pga.156.1512594131977;
	Wed, 06 Dec 2017 13:02:11 -0800 (PST)
Received: from [192.168.1.7] (c-73-240-125-172.hsd1.or.comcast.net.
	[73.240.125.172])
	by smtp.gmail.com with ESMTPSA id x3sm4176203pgv.73.2017.12.06.13.02.10
	for <bitcoin-dev@lists.linuxfoundation.org>
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 06 Dec 2017 13:02:10 -0800 (PST)
To: bitcoin-dev@lists.linuxfoundation.org
References: <d3497397-33c3-90c1-1be8-a733736eac0b@gmail.com>
	<1bb6cccd-3f6d-d62a-2825-4e6f46a4b525@mattcorallo.com>
	<dd2781a6-3e10-9f0c-6ee0-a2c070b7cf67@gmail.com>
	<CAB+qUq4wNv=-ZSibUvVCwYSE7Qw8xe8EH91KG6znUp1d7X=mdA@mail.gmail.com>
	<c898cc1c-d71c-de5c-aede-a2a4235656e0@gmail.com>
	<XiOYlqnc-qXA7EdhRL5FyNeLDM6D5HissnTjnmuLlRrh8K2upymkEcnZb3drGUafY8CKkWjRbVQauYyUfA5cZrnIpNs5UAqWkcpahibEBpc=@protonmail.com>
From: CryptAxe <cryptaxe@gmail.com>
Message-ID: <d293b884-5f28-d2db-d7b6-860ee7b17703@gmail.com>
Date: Wed, 6 Dec 2017 12:51:43 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
	Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <XiOYlqnc-qXA7EdhRL5FyNeLDM6D5HissnTjnmuLlRrh8K2upymkEcnZb3drGUafY8CKkWjRbVQauYyUfA5cZrnIpNs5UAqWkcpahibEBpc=@protonmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE 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, 07 Dec 2017 13:49:08 +0000
Subject: Re: [bitcoin-dev] Two Drivechain BIPs
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: Wed, 06 Dec 2017 21:02:13 -0000

On 12/05/2017 08:49 PM, ZmnSCPxj via bitcoin-dev wrote:

> ...
> This vulnerability can be fixed if withdrawals are restricted to
> simple P2PKH or P2WPKH only,

Limiting the withdrawal outputs to P2PKH and perhaps P2WPKH (would there
be any network benefit to supporting witness pubkeys for withdrawals?)
wouldn't be too much work for me. The downside is that people might want
to withdraw to multisig scripts, or any other legitimate P2SH. If it
prevents a huge issue, then it is probably worth it.


> but in the presence of Scriptless Script and Bellare-Neven signatures,
> that may be sufficient to create the Theft Contract and the Accomplice
> Contract (but I know too little of Scriptless Script to be sure).
>
> Regards,
> ZmnSCPxj
>

I'm curious if anyone on this list could help answer this.

Thanks!