summaryrefslogtreecommitdiff
path: root/1d/f4570fcec8c9a11544b7ba1773570fce169ea4
blob: 6312f09484c8c610bfafc610cf1b1f969a2dc7fb (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
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 93E4525A
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 10 May 2019 05:38:59 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from mail-40133.protonmail.ch (mail-40133.protonmail.ch
	[185.70.40.133])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id D6847CF
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 10 May 2019 05:38:58 +0000 (UTC)
Date: Fri, 10 May 2019 05:38:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
	s=default; t=1557466736;
	bh=9QshVlzBH3v3KgwJOpcW774KX2IwjTGHgRDPV1cRBjU=;
	h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:
	Feedback-ID:From;
	b=g3/IB/RdLNYPFfWa2SClVzrwoRD0C7OpR3xpQ+MyvMebhaARUPW946GdBPTocHMEJ
	0Hr/WUOoZPa7DajG3SzrSAaxMZT0cenBdwa3w3IAwa8bAI2q6lDN0/b87JMnvNSyU7
	ZSbXf3nZTVKwPSlqNd/O5SyqFSC2f5oYjmUmTTxM=
To: Johnson Lau <jl2012@xbt.hk>
From: ZmnSCPxj <ZmnSCPxj@protonmail.com>
Reply-To: ZmnSCPxj <ZmnSCPxj@protonmail.com>
Message-ID: <-3ac1EW7T8KOkUw6DK2Ejq83DiawO15bwaZJ79kw1U81w6sPCCkS2pAcTXtmLr8eOkohU7T8JJbW0K8dj690UYC9ffIqAqzP8e7fjbOqG70=@protonmail.com>
In-Reply-To: <DBADD452-6DAE-46D4-9511-69F8EAA02FFB@xbt.hk>
References: <CAPg+sBg6Gg8b7hPogC==fehY3ZTHHpQReqym2fb4XXWFpMM-pQ@mail.gmail.com>
	<201905062017.11396.luke@dashjr.org>
	<sujR-1TPC3DI-bNyQD2U5c5E0qkkfi6WezKQOfB9YgP7UbLj3x-maV0ooIqvJ4C2V_yjkrq78F7QqIZ5LyoZuSKcpC08RFWapH2k-FF3_zc=@protonmail.com>
	<DBADD452-6DAE-46D4-9511-69F8EAA02FFB@xbt.hk>
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: Sat, 11 May 2019 08:03:07 +0000
Cc: bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org>,
	Pieter Wuille <pieter.wuille@gmail.com>
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, 10 May 2019 05:38:59 -0000

Good morning Johnson,


> > > Some way to sign an additional script (not committed to by the witnes=
s
> > > program) seems like it could be a trivial addition.
> >
> > It seems to me the annex can be used for this, by having it contain bot=
h the script and the signature somehow concatenated.
>
> This is not possible since the whole annex is signed. It is possible if t=
he signed =E2=80=9Cscript=E2=80=9D does not require further input, like per=
-input lock-time, relative lock-time, check block hash

I understand, you are correct.

Possibly the correct way would be to use another leaf version.
The "script" of such a new leaf version would not actually be a script, but=
 a delegation key.
Then for this leaf version the actual script and signature from the delegat=
ion key attesting that script would be on top of the witness stack that wil=
l be used by the actual script.
This has the nice property that the existence of a delegation key is hidden=
 from the output, and that if an alternate script is in the MAST (as an alt=
ernative to the delegation), use of that alternate script does not reveal t=
hat delegation could have been possible.

Regards,
ZmnSCPxj