summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2017-09-04 09:51:35 -0400
committerbitcoindev <bitcoindev@gnusha.org>2017-09-04 18:42:35 +0000
commite15eeb34fde353aea4eabe97cbc828d31f6a7105 (patch)
tree1940bc96cc2f1e51ec800bbb130c4c476807e1bb
parent1ecc9e44f3b786b55a97bf01911410473943b22b (diff)
downloadpi-bitcoindev-e15eeb34fde353aea4eabe97cbc828d31f6a7105.tar.gz
pi-bitcoindev-e15eeb34fde353aea4eabe97cbc828d31f6a7105.zip
Re: [bitcoin-dev] P2WPKH Scripts, P2PKH Addresses, and Uncompressed Public Keys
-rw-r--r--af/d3af6a0c11f641c9732d8699c3cad7f47a5df6119
1 files changed, 119 insertions, 0 deletions
diff --git a/af/d3af6a0c11f641c9732d8699c3cad7f47a5df6 b/af/d3af6a0c11f641c9732d8699c3cad7f47a5df6
new file mode 100644
index 000000000..dcd9c28fe
--- /dev/null
+++ b/af/d3af6a0c11f641c9732d8699c3cad7f47a5df6
@@ -0,0 +1,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--
+