Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 7817AB1F for ; Thu, 17 Nov 2016 01:41:51 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id B03C123E for ; Thu, 17 Nov 2016 01:41:50 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id p66so85344901pga.2 for ; Wed, 16 Nov 2016 17:41:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voskuil-org.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=xk9CZRs4vZZ9Nfx+gmbO+OeJI0vIFJ/Yw6wAu0+fiQI=; b=MGCRig5NXCNTMt7qxTyOCJUhCtsRgI3PtKaVSMKUWmndVdMCWiOEgkuNKDbTh5vjzv H24y2CpY8OAyBcEN6SfF33MuUPuHC9QJhGpnPDQYMOxTykWLi2Tt2yhvtqFZ3fdMPf3Y qVW8uJNx+5UPykOKKe9c9a0vwYLmR+GF9hpYpNeut+EhWjf6nFObXWqOy3NUjHSoFFMd F5dvV1xNLWdEv1YznrIA4UbtVvKV3h+cN95lumFpn3Ha1XOh+iwGPuoeIWbK7FNibS3Y 7hvKjfkeC5t6CI6KNA7n4pGQZm+LkekPg6tPVAMhX/NBie5RWYGY794hCCWhp/ARO8de B7SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=xk9CZRs4vZZ9Nfx+gmbO+OeJI0vIFJ/Yw6wAu0+fiQI=; b=dLaL4KP0KPXcZsqtNf89zUvb+jmL1g8WpYgJY3fdkK03rL1IyiTiy0BKcOSBspnJoo ukycbknWdSjhcJLv5Rgtt4A0G/ZfHn992R2BVlDvUAPI4MOnhR69mMvJx70foWDXr78g EysSFG8MS7WP8ow3guyVtlLoO8gNu4yTdk01d6z95LPEyZs2N7R1uB/I0jDA0o//Nsnq ijTgfd9+f3DFWyfFllc0ZRicRY/hsPkJT0WmuB0RcAZHuFSotLYTd8pIg8L3etRqWj2s l1tOjhYLfQRx+VpMwCEZ7Ohp8HcYjef8WwpR2qfo95jxMdDfHPd9E/ZFp7hj7/+IdABi GzpA== X-Gm-Message-State: ABUngvd0lAWgrLFb1QmDRKzMZQSuq4NidJGpZL8cPaAI+7dLgS1VYGjW8Co0xf0vq9kqUg== X-Received: by 10.98.35.5 with SMTP id j5mr912656pfj.91.1479346910388; Wed, 16 Nov 2016 17:41:50 -0800 (PST) Received: from ?IPv6:2601:600:9000:d69e:8084:4206:2529:776d? ([2601:600:9000:d69e:8084:4206:2529:776d]) by smtp.gmail.com with ESMTPSA id q26sm644545pfk.94.2016.11.16.17.41.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Nov 2016 17:41:49 -0800 (PST) To: Alex Morcos , Bitcoin Protocol Discussion References: <33BFC318-0BB4-48DB-B5DC-08247FAC6E5A@voskuil.org> <6191e5f2-4cc7-b3ff-b4e7-bb7979e24d1f@voskuil.org> From: Eric Voskuil Message-ID: <6b3837bb-cde9-87e9-5822-5405a6f7e2f7@voskuil.org> Date: Wed, 16 Nov 2016 17:41:51 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ac3e87AfqrkFTSACU5OIeg0qMVVa9Figa" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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: Thu, 17 Nov 2016 02:13:44 +0000 Cc: Thomas Kerin Subject: Re: [bitcoin-dev] [BIP Proposal] Buried Deployments 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: Thu, 17 Nov 2016 01:41:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ac3e87AfqrkFTSACU5OIeg0qMVVa9Figa Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/16/2016 05:24 PM, Alex Morcos wrote: > huh? > can you give an example of how a duplicate transaction hash (in the sam= e > chain) can happen given BIP34? "The pigeonhole principle arises in computer science. For example, collisions are inevitable in a hash table because the number of possible keys exceeds the number of indices in the array. A hashing algorithm, no matter how clever, cannot avoid these collisions." https://en.wikipedia.org/wiki/Pigeonhole_principle e > On Wed, Nov 16, 2016 at 7:00 PM, Eric Voskuil via bitcoin-dev wrote: >=20 > On 11/16/2016 03:58 PM, Jorge Tim=C3=B3n via bitcoin-dev wrote: > > On Wed, Nov 16, 2016 at 3:18 PM, Thomas Kerin via bitcoin-dev > > > wrote: > >> BIP30 actually was given similar treatment after a reasonable am= ount of time > >> had passed. > >> https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L239= 2 > = > > > > This is not really the same. BIP30 is not validated after BIP34 i= s > > active because blocks complying with BIP34 will always necessaril= y > > comply with BIP30 (ie coinbases cannot be duplicated after they > > include the block height). >=20 > This is a misinterpretation of BIP30. Duplicate transaction hashes = can > and will happen and are perfectly valid in Bitcoin. BIP34 does not > prevent this. >=20 > e --ac3e87AfqrkFTSACU5OIeg0qMVVa9Figa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJYLQrfAAoJEDzYwH8LXOFOkgEH/2z1PztastNzvjKcL2P735rB jkNDYwGgyPKywfsV+tP28CABA3uP/HPT8LHxvfc9LWt09CaXSf5xDHml8eod5Q48 e2BGuF9yRyCgOtfenijSLi+rIqQ3CXyVplD1lA1dZqkRYBmZ28Vh98StihhbF3Vc hv4b7KjZQbLPjYYJOUqebjH77ebKqkGEbXAxQCl9AyEQgHF8eRDd2cfVN3j2KvH/ Obzzem+wlh+7YLYc+4k4geaaElTOrqTZeaAsdEHDEUZfqVYauji09XKSRRqRFdv2 3giOdbSNIy33stmXWW3S+Yz6pZi/ApB5IZEPf+XuH3BRyGKJlwF+OzNZal+qNgk= =NrSo -----END PGP SIGNATURE----- --ac3e87AfqrkFTSACU5OIeg0qMVVa9Figa--