summaryrefslogtreecommitdiff
path: root/6f/d86b0ee1cff21440e64b8ff4e59e4699bbcaeb
blob: 5b3343b59799b7c7bb2e0a56a963dc9a4cc5b7a0 (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
112
Return-Path: <jl2012@xbt.hk>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 056A17AA
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 31 Jul 2016 02:15:14 +0000 (UTC)
X-Greylist: delayed 00:12:01 by SQLgrey-1.7.6
Received: from erelay5.ox.registrar-servers.com
	(erelay5.ox.registrar-servers.com [192.64.117.65])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 52D0D1A1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 31 Jul 2016 02:15:14 +0000 (UTC)
Received: from localhost (unknown [127.0.0.1])
	by erelay1.ox.registrar-servers.com (Postfix) with ESMTP id
	54EE92206FF2 for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 31 Jul 2016 02:03:12 +0000 (UTC)
Received: from erelay1.ox.registrar-servers.com ([127.0.0.1])
	by localhost (erelay.ox.registrar-servers.com [127.0.0.1]) (amavisd-new,
	port 10024)
	with LMTP id iZvUeUYsa2A1 for <bitcoin-dev@lists.linuxfoundation.org>; 
	Sat, 30 Jul 2016 22:03:11 -0400 (EDT)
Received: from MTA-05.privateemail.com (unknown [10.20.150.150])
	(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by erelay1.ox.registrar-servers.com (Postfix) with ESMTPS id
	433292206DA4 for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 30 Jul 2016 22:03:11 -0400 (EDT)
Received: from APP-02 (unknown [10.20.147.152])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by MTA-05.privateemail.com (Postfix) with ESMTPSA id 1939060040
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun, 31 Jul 2016 02:03:11 +0000 (UTC)
Date: Sat, 30 Jul 2016 22:03:11 -0400 (EDT)
From: Johnson Lau <jl2012@xbt.hk>
Reply-To: Johnson Lau <jl2012@xbt.hk>
To: bitcoin-dev@lists.linuxfoundation.org
Message-ID: <1514704510.183612.1469930591099@privateemail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_183611_1196217292.1469930591040"
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.8.1-Rev16
X-Originating-Client: open-xchange-appsuite
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	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
Subject: [bitcoin-dev] BIP114 MAST updated
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: Sun, 31 Jul 2016 02:15:15 -0000

------=_Part_183611_1196217292.1469930591040
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

I have published a new version for BIP114 MAST. It's a bit more complicated with some new features:

1. It allows different parties in a contract not to expose their scripts to each other until redemption.

2. It includes a field to indicate the script language version so new opcodes could be added without touching the version byte nor the witness program.

You can find the updated BIP and code at:

https://github.com/bitcoin/bips/blob/master/bip-0114.mediawiki

https://github.com/jl2012/bitcoin/tree/bip114v2


The old version:

https://github.com/bitcoin/bips/blob/7478ee3260c0d3c0cef39233931b307691764edc/bip-0114.mediawiki

https://github.com/jl2012/bitcoin/tree/segwit_mast
------=_Part_183611_1196217292.1469930591040
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><head>
    <meta charset=3D"UTF-8">
</head><body><p>I have published a new version for BIP114 MAST. It&#39;s a =
bit more complicated with some new features:</p><p>1. It allows&#160;differ=
ent parties in a contract not to expose their scripts to each other&#160;un=
til redemption.</p><p>2. It includes a field to indicate the script languag=
e version so new opcodes could be added without touching the version byte n=
or the witness program.</p><p>You can find the updated BIP and code at:</p>=
<p><a href=3D"https://github.com/bitcoin/bips/blob/master/bip-0114.mediawik=
i">https://github.com/bitcoin/bips/blob/master/bip-0114.mediawiki</a></p><p=
><a href=3D"https://github.com/jl2012/bitcoin/tree/bip114v2">https://github=
.com/jl2012/bitcoin/tree/bip114v2</a></p><p><br></p><p>The old version:</p>=
<p><a href=3D"https://github.com/bitcoin/bips/blob/7478ee3260c0d3c0cef39233=
931b307691764edc/bip-0114.mediawiki">https://github.com/bitcoin/bips/blob/7=
478ee3260c0d3c0cef39233931b307691764edc/bip-0114.mediawiki</a></p><p><a hre=
f=3D"https://github.com/jl2012/bitcoin/tree/segwit_mast">https://github.com=
/jl2012/bitcoin/tree/segwit_mast</a></p></body></html>
=20
------=_Part_183611_1196217292.1469930591040--