Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VdQD3-0007qf-3H for bitcoin-development@lists.sourceforge.net; Mon, 04 Nov 2013 19:53:13 +0000 Received: from mail-pb0-f41.google.com ([209.85.160.41]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VdQD1-0003K1-CI for bitcoin-development@lists.sourceforge.net; Mon, 04 Nov 2013 19:53:13 +0000 Received: by mail-pb0-f41.google.com with SMTP id wy17so4409727pbc.28 for ; Mon, 04 Nov 2013 11:53:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=mlVJHzZ+c42jv5CeIAF8/Cu0jMWyXxUgFzd/wGdTegs=; b=BKnZdcdpaEpiG8Uq7wHZWdMVwVsSatKoooWJeFwMoBraS1waM6LFwcoI7ai5QSXLrX iD0rqdoeJQul+WW5ECjVGMxh8prtX9+sQYqTgLut4eu8LM13MruYq5uqgGpeHn8+VqVk dPdAqdFxLdwvLRWswt3y71WBgOjaLgCM+2iw7KcNomaukgG99bnwTe/ofpo5Z465gdpO zRNVPA1mlnQRmb78OnEcDRat9XwoZwdIckNJRQ3IHxpFvQxMAv21chre4VZmL0ur82Ao kmIWJSq7YdBMDaI8XTl6H/6kzed1eF62+mke5r5qokLUCluOFK01n4JVbDWTf/aBB8f0 NaBA== X-Gm-Message-State: ALoCoQmD2nzT5YQi37dTdEZom/s7blT3bEdIrGtxx8U+hDgmaYZO6xccDCE88xAN3CKzRBugwDRF X-Received: by 10.66.118.204 with SMTP id ko12mr2186994pab.184.1383594785319; Mon, 04 Nov 2013 11:53:05 -0800 (PST) Received: from phobos.local (50-0-36-80.dsl.dynamic.sonic.net. [50.0.36.80]) by mx.google.com with ESMTPSA id og5sm29867209pbb.10.2013.11.04.11.53.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Nov 2013 11:53:04 -0800 (PST) Message-ID: <5277FB21.3050306@monetize.io> Date: Mon, 04 Nov 2013 11:53:05 -0800 From: Mark Friedenbach Organization: Monetize.io Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: bitcoin-development@lists.sourceforge.net References: <20131104115314.GA1013@savin> <20131104181649.GA3847@petertodd.org> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: enigmail.net] X-Headers-End: 1VdQD1-0003K1-CI Subject: Re: [Bitcoin-development] Committing to extra block data/a better merge-mine standard X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 19:53:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/4/13 11:38 AM, Mike Hearn wrote: > The Merkle branch doesn't get stored indefinitely though, whereas > the coinbase hash does. The data stored in the coinbase [output] > can always just be the 256-bit root hash truncated to less. > > I doubt the additional bytes make much difference really, so the > additional complexity may not be worth it. But it wouldn't be an > issue to do. The bits make a difference if you are merged mining. You can use the birthday attack to construct two data trees whose hash match the (truncated) value, each containing separate aux block headers. This allows you to double-count the bitcoin PoW for more than one aux block on the same chain, potentially facilitating aux chain attacks. If you want 128 bits of security for merged mined aux chains, you need 256 bits of hash in the coinbase. -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.19 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSd/shAAoJEAdzVfsmodw48a0P/RaCOctBDvhU0THnsUw6nRBm A8oH3Kpio4ZltU4oIT0tznZbUOG2j2xVrmATqXDYOZQ6FuGihjmkKJ9jHgl57pb5 0qDdCBiEuWtLIh2+Awrb3Y0s8czyCQP9/1CJyzdEFmI8rSwCaqJMa6B2Ny6Xz6+8 eiK45YdXCPgdTAb56FKOi9WzOe0g1aOO5KiUOci22xRkXvh4qPYrt2F0LIgjZTdC koyXU6dcKON9H8Cecu+ag7jJ5A9ZDj7oIq5rflEyolh2V4ie0tGQ50rFGg/ii6iQ Tz9AWwigsHEkuinBTuN5041Xb8nAgHLvA60RQ41lWUHJxfAvDE+wN6NqgHmMVaRo NHqlZcCuEl1jn7HW81XQTpgarrXHk1G7b2vK10pB/lUxUNIstZvCSjcp8QdtmC9v tIhC2czSnsQaE6kIBuHxDNZxOlZ8DxBYCAgXSkycwznwzGhFPP0xB1lV9HfaP5+i aikmx5SQmqBXQQKsxmIacoykrfu5x+O2TB/bq8JhJ1ak2jG9LVFyQqjorABVAgA7 pLEN6EomWht5qstaLVfHYpNsLMf6WA7UzRG08HKItUeDPtG7bDx8vBx5TvIUjT44 A0i09bOt8ZIgp+lJ8lFLWiPLChViAoy7fqKy2vrdsZerOF3l4LUQeQO/xnfZc+dG AEG+7iCBOMxJSVoJ5bP6 =nydG -----END PGP SIGNATURE-----