Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1StBo9-0006tQ-NC for bitcoin-development@lists.sourceforge.net; Mon, 23 Jul 2012 06:07:53 +0000 X-ACL-Warn: Received: from mail-lb0-f175.google.com ([209.85.217.175]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1StBo8-0008BM-HB for bitcoin-development@lists.sourceforge.net; Mon, 23 Jul 2012 06:07:53 +0000 Received: by lbol5 with SMTP id l5so8092747lbo.34 for ; Sun, 22 Jul 2012 23:07:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=S/C+eCfJp7nep5O/koYvRvFPxL58nix23jq8VSrSOBY=; b=fIAT1WrGxNe/SLgSaqIxqncTSfilmCCasNE+HaHiynnzpOsRFFeKqLMegQWMkWCFiJ 8j2xLaSp5kIcItIvYJF5Op002/xxH99b1SfqZpovKxWZyaog7z+ps/UBiIfVqkIbWKM8 0BgOIk3SdnLCrZ/pBa2pl0W3auAq0jyDclzmXogPdoJgyGIrJ80IkBt1+nPSZAw23oxZ oNzUNmJbWDyxIbr9bR4ruGJLBCp6//Sh75s9vg52VsONOcnxSnSDvmFpFiO1Iko/doUt MMNMlfntcTN4wpaMazijurGBPQjhSz6sA5efoN45SXfa1w3CMNK9tNYxRL0jnfwMB8pJ uGxA== MIME-Version: 1.0 Received: by 10.112.54.100 with SMTP id i4mr6979553lbp.97.1343023665753; Sun, 22 Jul 2012 23:07:45 -0700 (PDT) Received: by 10.114.14.228 with HTTP; Sun, 22 Jul 2012 23:07:39 -0700 (PDT) X-Originating-IP: [2001:4830:1603:2:21c:c0ff:fe79:c8c2] Date: Mon, 23 Jul 2012 02:07:39 -0400 Message-ID: From: Jeff Garzik To: Bitcoin Development Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmn20TMtCNe1BpTjYufpQm+AAQSM1eAEubCleY2w8goWseLj3iDmPDhvyQAti5aTj+HYolz X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. X-Headers-End: 1StBo8-0008BM-HB Subject: [Bitcoin-development] Coinbase script parse failures 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, 23 Jul 2012 06:07:53 -0000 While writing the script engine for pynode, I ran a test to validate my script tokenizer -- a python script which does nothing more than split up scriptPubKey and scriptSig into component opcodes and data elements. No execution, just tokenization of the script's data stream. Scanning the entire blockchain, my script found over 8,000 tokenization failures, and 100% of those were in coinbase transactions' scriptSig. The scripts used to generate this can be found at https://github.com/jgarzik/pynode The following data dump are just the first few, and most recent few, of the invalid scripts I found in the blockchain: Scanning block #142312 000000000000046acff93b0e76cd10490551bf871ce9ac9fad62e67a0 7ff1d1e (1 tx) TX 50cfd3361f7162b3c0c00dacd3d0e4ddf61e8ec0c51bfa54c4ca0e61876810a9 txin 0 parse failed Scanning block #142357 0000000000000743c432f84ad688b7b60d1474ccd7baa3d762df0b3f5 1205712 (1 tx) TX 587da4d4870515e57efc27623aa92fae0b7aef5908162de57fef0bbe6382be73 txin 0 parse failed Scanning block #143014 00000000000007fe6ecd20a8c454cd43c78d912b499c46a1179e30f7c ff002b3 (1 tx) TX 4c8f43c5115c5f29f3761176fa59cde2de2ad976efcbc5faae8ee79fa5dd6264 txin 0 parse failed ... Scanning block #190315 00000000000006a0bc3be527033c02d3bcfa72af2f4213c4b0feec923 9573342 (336 tx) TX f0ba80ce080eb49148b69c47d744bbb85e4e07e4e4d0273b402c0989d79c359c txin 0 parse failed Scanning block #190321 00000000000001c3bacc869917cacdafb6e00c552ac294835107b574a 44a0362 (38 tx) TX 4c91f5ad0616df92165819902d0b117d9e68345f5fe964de6146f89838b9295e txin 0 parse failed Scanning block #190331 00000000000000e3d3eaf93600684b085df7d58f84ef952c91e84eb4a 251d5d8 (128 tx) TX 5ee371d65e323934570566b1d92dceb8456e887814da8ef2a53971683bd11da4 txin 0 parse failed -- Jeff Garzik exMULTI, Inc. jgarzik@exmulti.com