summaryrefslogtreecommitdiff
path: root/34/b10a55f49da056de94d981450ab3460e58d9e1
blob: 0652a01608dcd73c952c78a7a0915f4fffd1c1a5 (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
Return-Path: <elichai.turkel@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 33820CAF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  9 Aug 2019 14:59:02 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com
	[209.85.208.171])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 93B3E76F
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri,  9 Aug 2019 14:59:01 +0000 (UTC)
Received: by mail-lj1-f171.google.com with SMTP id z28so38148904ljn.4
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 09 Aug 2019 07:59:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:from:date:message-id:subject:to;
	bh=OrXwPovtRNpOojEZ4C1fcQS19IdXP8iR5enOqax+iq4=;
	b=BL4jAMQhwmspipIAptI+axFOpuvbbnduaF1BuB4m8P7tN+Nsi9ATHmJo2cwoqtsodA
	8OhpSURQLbwATqXwCJ+QI9Byzv3PvuQ4kiqIRn+pLrSTJm90qmTY4kUj/xSEcSZpMUfS
	XLiGV6WG+6grQK922eoqBhPm1jsSom5nGmkPMcQ0aMBVqIvdNIJc3Njlt6/8kCfw9uMZ
	ahkHnmr+5rVlfH0/Z6d0jU2ilTCrgKn2UbSg6kAcw8QT2XMqzeJPTyF0+AfR90HTB4TI
	6EoKjmN+iV/VU2GEfNCAJ9CX0m7KAwcQk7FzfG5bTofrIXEkhITbt9D4FLHIv/ri810z
	jOkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=OrXwPovtRNpOojEZ4C1fcQS19IdXP8iR5enOqax+iq4=;
	b=o9U3fDt91RctcJnTJ3uM23wGXCQJekpfh5wScUrKYRCMtlcznj0kO7LxPKXMV2xwix
	nvAEB0EJ2eFQVlHxCo9nH/dnTnTNPOyS5oAQE2+DGY0q6bN07wNYuiBR1bMcwR2cu7Nt
	ulc0Y2mlcsxismqaAVtPdlwZqT6Cnn2SoxYRsig0Pq7Qoe2twQ8Sj5rqndtrVwSpM7sg
	hpe31yHDtG6WeOnnid/BE2QpyFi5syp6JKFZjhZdIbChrOD5WYQ+MhQjqguC+VxOlZN1
	IdhxmQ/u0MGGkM+aiXrlUVhgnLgF9DPCG3tljqGCMWHSIIRZaqn820Ghb+JMP8pamUkN
	WWxA==
X-Gm-Message-State: APjAAAUcMPPN8hTyWAaKGG9/F0g096dJjBdNcTGAJWaen4gnP6Sd15Gm
	gdzAP+PWEb32zNKGQm2ZDacABqtOE02DgrOJhcCr6gf18LJIDw==
X-Google-Smtp-Source: APXvYqwYVJnLpwYbfZRt0RKaU1YGctTrEsWqDZj/R8jq1Cx1nSgDynXGreqPamdFVJduDtg6+yU/VZA/KmM/Ch7HGKM=
X-Received: by 2002:a2e:2b57:: with SMTP id q84mr11668074lje.105.1565362739378;
	Fri, 09 Aug 2019 07:58:59 -0700 (PDT)
MIME-Version: 1.0
From: Elichai Turkel <elichai.turkel@gmail.com>
Date: Fri, 9 Aug 2019 10:58:58 -0400
Message-ID: <CALN7hCJ7dCER9zaQbXvT4AVt95cZwBsQcTX8XvvZwF-1xa-V4w@mail.gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary="000000000000067f27058fb06aba"
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE,
	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: Fri, 09 Aug 2019 15:01:41 +0000
Subject: Re: [bitcoin-dev] Taproot proposal
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: Fri, 09 Aug 2019 14:59:02 -0000

--000000000000067f27058fb06aba
Content-Type: text/plain; charset="UTF-8"

Hi,
I want to add to John Newbery's suggestion of using implicit even/odd only
public keys and tweaked public keys in taproot and suggest the following:

If everything is implicit then the only reason for the first byte of the
control block(`c[0]`) is the tapscript leaf version.
I suggest that this is moved to be the first OP_CODE of the tapscript
itself (i.e. OP_0/OP_1 etc.)
That way having the script *tells* you what does it mean without needing to
check the control block.
That way there's a separation between the tapscript+leaf version and the
control block being the merkle path to the script.
-- 
PGP: 5607C93B5F86650C

--000000000000067f27058fb06aba
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div>I want to add to=C2=A0John Newbery&#39;s suggestio=
n of using implicit even/odd only public keys and tweaked public keys in ta=
proot and suggest the following:</div><div><br></div><div>If everything is =
implicit then the only reason for the first byte of the control block(`c[0]=
`) is the tapscript leaf version.</div><div>I suggest that this is moved to=
 be the first OP_CODE of the tapscript itself (i.e. OP_0/OP_1 etc.)</div><d=
iv>That way having the script *tells* you what does it mean without needing=
 to check the control block.</div><div>That way there&#39;s a separation be=
tween the tapscript+leaf version and the control block being the merkle pat=
h to the script.</div><div><div>-- <br><div dir=3D"ltr" class=3D"gmail_sign=
ature" data-smartmail=3D"gmail_signature">PGP: 5607C93B5F86650C<br><br></di=
v></div></div></div>

--000000000000067f27058fb06aba--