summaryrefslogtreecommitdiff
path: root/af/d3af6a0c11f641c9732d8699c3cad7f47a5df6
blob: dcd9c28fe99d29b561e1ee66c547041becddecdf (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
113
114
115
116
117
118
119
Return-Path: <pete@petertodd.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 6FA8CACC
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  4 Sep 2017 18:42:35 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from outmail148111.authsmtp.net (outmail148111.authsmtp.net
	[62.13.148.111])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C8FFAA1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Mon,  4 Sep 2017 18:42:34 +0000 (UTC)
Received: from mail-c245.authsmtp.com (mail-c245.authsmtp.com [62.13.128.245])
	by punt22.authsmtp.com (8.14.2/8.14.2/) with ESMTP id v84IgTwp051223;
	Mon, 4 Sep 2017 19:42:29 +0100 (BST)
Received: from petertodd.org (ec2-52-5-185-120.compute-1.amazonaws.com
	[52.5.185.120]) (authenticated bits=0)
	by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id v84IgRc0044045
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 4 Sep 2017 19:42:28 +0100 (BST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by petertodd.org (Postfix) with ESMTPSA id C141A40295;
	Mon,  4 Sep 2017 18:42:25 +0000 (UTC)
Received: by localhost (Postfix, from userid 1000)
	id 747292224A; Mon,  4 Sep 2017 09:51:35 -0400 (EDT)
Date: Mon, 4 Sep 2017 09:51:35 -0400
From: Peter Todd <pete@petertodd.org>
To: Alex Nagy <optimiz3@hotmail.com>,
	Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <20170904135135.GE1276@fedora-23-dvm>
References: <CY4PR1801MB181583C344B0993205D4B6C8809E0@CY4PR1801MB1815.namprd18.prod.outlook.com>
	<CAAS2fgT+HHg_xuuWuGrYcX0ALcBowmY-1Kt6-dzSBOwdcr08HQ@mail.gmail.com>
	<CY4PR1801MB181557B7331133954A3098DD809E0@CY4PR1801MB1815.namprd18.prod.outlook.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="UoPmpPX/dBe4BELn"
Content-Disposition: inline
In-Reply-To: <CY4PR1801MB181557B7331133954A3098DD809E0@CY4PR1801MB1815.namprd18.prod.outlook.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Server-Quench: cd63a1b7-91a0-11e7-801f-9cb654bb2504
X-AuthReport-Spam: If SPAM / abuse - report it at:
	http://www.authsmtp.com/abuse
X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR
	aQdMdgYUC1AEAgsB AmEbWl1eVF97W2s7 bghPaBtcak9QXgdq
	T0pMXVMcUg1seEtj VR4eVh1ycwAIcHh0 bAgxCnZYDUUoclt0
	Qx9UCGwHMGB9YGAe Bl1RJFFSdQcYLB1A alQxNiYHcQ5VPz4z
	GA41ejw8IwAXEH5q eiItZWkZW0cTAiV4 DyhYJRYPVWQJSz8+
	NAcrMRpUFUAdeng0 OlwkQUgVKAQfBm8W J1xHBC5Sb3oMVjFD 
X-Authentic-SMTP: 61633532353630.1039:706
X-AuthFastPath: 0 (Was 255)
X-AuthSMTP-Origin: 52.5.185.120/25
X-AuthVirus-Status: No virus detected - but ensure you scan with your own
	anti-virus system.
X-Spam-Status: No, score=0.4 required=5.0 tests=DATE_IN_PAST_03_06,
	RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Cc: Gregory Maxwell <gmaxwell@gmail.com>
Subject: Re: [bitcoin-dev] P2WPKH Scripts, P2PKH Addresses,
 and Uncompressed Public Keys
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: Mon, 04 Sep 2017 18:42:35 -0000


--UoPmpPX/dBe4BELn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 28, 2017 at 08:55:47PM +0000, Alex Nagy via bitcoin-dev wrote:
> Thanks Gregory - to be clear should Native P2WPKH scripts only appear in =
redeem scripts?  From reading the various BIPs it had seemed like Native P2=
WPKH and Native P2WSH were also valid and identifiable if they were encoded=
 in TxOuts.  The theoretical use case for this would be saving bytes in Txe=
s with many outputs.

It's not a theoretical use-case: the two OpenTimestamps calendar servers I =
run
- {alice,bob}.btc.calendar.opentimestamps.org - use native P2WPKH segwit
outputs to keep transaction size to the absolute minimum possible; previous=
ly
they used bare CHECKSIG <pubkey> output scripts for the same reason.

I enabled support for it the moment segwit activated, so I'm probably the f=
irst
ever production user of P2WPKH on mainnet, and quite possibly, the first pe=
rson
to create P2WPKH outputs on mainnet for any reason.

--=20
https://petertodd.org 'peter'[:-1]@petertodd.org

--UoPmpPX/dBe4BELn
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJZrVplAAoJECSBQD2l8JH7p+YH/0VLxtZMvS6oKOCvGr8T26ss
7WdDj2v4NXEcabcriXZAoG8wiNc5+5TyCVuAFi7aB9HRUTxAY20aUDe/2lM5jEfJ
y0V3Hqq9DnJE9LChDpbKgUSnI5XpTh6YS2IBlchxH2N8vcnJQ6JxDRitZHNUxr89
Gxejl8zKotI/Da2BedJbnIijKbGc7iXv6MtdtETiIt24Z5r2gSoffrCVIQ46XLdv
/WlmrNtxRccdo9DEtpZRoTTQUAm7DPjvJzMHmwCZ+9T+p6n89QlJQwjxOKygtoCr
FgwPdtLm+nmvWCsRlfPheHPf63339excx8oQBXJLidFebbsz/gnpcY1NkX86XcI=
=BVZW
-----END PGP SIGNATURE-----

--UoPmpPX/dBe4BELn--