summaryrefslogtreecommitdiff
path: root/16/53dd81dbf5d9b57c6223903beb5c4b573b0a7f
blob: e8de8327da9d25be72fa2d25b614c022891faef5 (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: <sdaftuar@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id BD2491024
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 19 Jan 2018 20:38:36 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com
	[209.85.217.173])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 3F4EA157
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 19 Jan 2018 20:38:36 +0000 (UTC)
Received: by mail-ua0-f173.google.com with SMTP id j23so1919870uak.13
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Fri, 19 Jan 2018 12:38:36 -0800 (PST)
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=to2pM+H5NCdmywZgKQMqlafhge9rqYSr/19pzaxTgeA=;
	b=LsnrEJFKhISqDMj3tTFkEpBB1eRH/WdbqVJgpAjAd8DQkT4MynXujohS76jt9eTmhD
	oirlOmZRUt4Vz7JcAvZjFhJB72xCFdghGAepomL4ZrNBRCzs3jaAxRKe5Cy2XAOpnM63
	26d+XuQt2h8MU0haEKNbBF6cg3VlU1Wibx1f6jdabF3rd14287LsYpgKAurmRPqKldXl
	UgEIGGdhwLpfAUwnjVYNJzqkVRXPr+4W+wLAoTPmitldCfKC8PHEi9u0MyrZVTvy9M4O
	Y6hWQB2kVNIN8u6yBzQ2XllgGf81+kCP6fOFfVOjGfqrhcKiUjlZBhTU1rQwSvD6D8Hr
	EfUA==
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=to2pM+H5NCdmywZgKQMqlafhge9rqYSr/19pzaxTgeA=;
	b=ZMDuHCT04ksNTCM+mVsSclCe8MtIyhT9KZEHX2pBZspsty4Hk8IpAJuAU2P8GKDO2P
	BQ6NdndDy6cFgs1pjMPO9s5+epRqe5OUgj6dvmF688BYV9+x0KlUFPW5SeyrHEWwjQJ0
	rQKdPPlf5aueSImOyPB5ltcsLNWCw1luqZyoLYvepLfC4yDUk3TBbN8prWFBszGbojTq
	DvtuEbGe1NJddWCk8+kiaj+vnJvk0HJJWSDPtyB27O37K8oHzPWpVpvUmGz7lLRxJovc
	EnkmO7Jirdqshc4NmjSj3y3LFmOyIZ2WCrKtWY/Jp6HdYfyBCKlLrnP9fvCjSsdE3rAL
	DhZg==
X-Gm-Message-State: AKwxytfnnbTI5Ib+ED0WnsZIkd4XvpKv6SsODTF8N+DN4zhGvsQYtiqu
	Mmop4A/qugLhZgI9LP+Cx57cXXGCUKzcOUC+xyxLP0tQ
X-Google-Smtp-Source: ACJfBovAn5PtrtbMlwYPPF7imfibXJ1d3lNo5atNe16xlddnGnTorqWbelYJxs1uULzZ92PSI5ttqEMqKGWwDnHcNb4=
X-Received: by 10.176.23.14 with SMTP id j14mr8351376uaf.80.1516394315029;
	Fri, 19 Jan 2018 12:38:35 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.145.155 with HTTP; Fri, 19 Jan 2018 12:38:34 -0800 (PST)
From: Suhas Daftuar <sdaftuar@gmail.com>
Date: Fri, 19 Jan 2018 15:38:34 -0500
Message-ID: <CAFp6fsF_QS4OMgjYqLw+u2jsOoRn0+3jgHws8Bo7WFkR5E1+Og@mail.gmail.com>
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="f4030436126c7ca3a4056327109f"
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, 19 Jan 2018 21:04:18 +0000
Subject: [bitcoin-dev] [BIP Proposal] P2SH and Version 0 Segwit Script
	enforcement from genesis
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, 19 Jan 2018 20:38:36 -0000

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

Hi,

I propose backdating the P2SH and Segwit version 0 script rules back to the
genesis block, as a way to simplify these consensus rules.  Here's the
abstract from a draft BIP I wrote up to explain this change:

The Pay to Script Hash (P2SH, BIP 16) script rules and the Version 0
Witness Program script rules (BIP 143/141) can be enforced from the genesis
block with only one historical exception. Doing so simplifies consensus
rules and allows protocol implementers to avoid writing and testing code
paths that are no longer relevant.

The full BIP draft can be found here:
https://github.com/sdaftuar/bips/blob/p2sh-v0segwit-from-genesis/bip-sdaftuar-p2sh-v0segwit-from-genesis.mediawiki

And the currently open pull request to Bitcoin Core which implements this
change can be found here: https://github.com/bitcoin/bitcoin/pull/11739

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

<div dir=3D"ltr">Hi,<div><br></div><div>I propose backdating the P2SH and S=
egwit version 0 script rules back to the genesis block, as a way to simplif=
y these consensus rules.=C2=A0 Here&#39;s the abstract from a draft BIP I w=
rote up to explain this change:</div><div><br></div><div><blockquote style=
=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>The Pay to S=
cript Hash (P2SH, BIP 16) script rules and the Version 0 Witness Program sc=
ript rules (BIP 143/141) can be enforced from the genesis block with only o=
ne historical exception. Doing so simplifies consensus rules and allows pro=
tocol implementers to avoid writing and testing code paths that are no long=
er relevant.</div><div><br></div></div></blockquote>The full BIP draft can =
be found here:=C2=A0<a href=3D"https://github.com/sdaftuar/bips/blob/p2sh-v=
0segwit-from-genesis/bip-sdaftuar-p2sh-v0segwit-from-genesis.mediawiki">htt=
ps://github.com/sdaftuar/bips/blob/p2sh-v0segwit-from-genesis/bip-sdaftuar-=
p2sh-v0segwit-from-genesis.mediawiki</a></div><div><br></div><div>And the c=
urrently open pull request to Bitcoin Core which implements this change can=
 be found here:=C2=A0<a href=3D"https://github.com/bitcoin/bitcoin/pull/117=
39">https://github.com/bitcoin/bitcoin/pull/11739</a></div></div>

--f4030436126c7ca3a4056327109f--