From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6FA8CACC for ; 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 ; 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 To: Alex Nagy , Bitcoin Protocol Discussion Message-ID: <20170904135135.GE1276@fedora-23-dvm> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UoPmpPX/dBe4BELn" Content-Disposition: inline In-Reply-To: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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--