From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1WgemB-0003q6-ME for bitcoin-development@lists.sourceforge.net; Sat, 03 May 2014 18:35:07 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of pixodegames.com designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; envelope-from=flavien.charlon@pixodegames.com; helo=mail-lb0-f170.google.com; Received: from mail-lb0-f170.google.com ([209.85.217.170]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1WgemA-0005WZ-2h for bitcoin-development@lists.sourceforge.net; Sat, 03 May 2014 18:35:07 +0000 Received: by mail-lb0-f170.google.com with SMTP id 10so4293362lbg.1 for ; Sat, 03 May 2014 11:34:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=3KmolgQkUp6c9PWoEnCPMyBhBbeSVudrrezsAK0fu7c=; b=Jq1QAsiOXMSyT6/wYEaKdKjgOjoaB1LVB5PspthHthus4io6rrRWiz/T5h2mIoZg5Z aiaJ7lvWvGYCMVa883FTQz7JrQMdYy5iJkJTEKlPGyg+T0FFTtl/eoWNiW0SqROE9RfL 3Lc7RpOhlUGJvShLppcCGs8/qPxeGcW65rauBIkZHOTrlkw7gyyqlYF4aZCAL6UCT9P0 Lsbyb5UqEzsaAVYWa1CA8YNzNp83S2tpoyxPHeuas/mqbmGJELojTa3E6WiXHyZBUkHg Fj03GnnoEVpDUA30WIrbv4VNxg+YTfwSXRQy2/9HAUUl5zo1rCipTaF0r4QujX3rot92 ryiQ== X-Gm-Message-State: ALoCoQl3O4oFTfajeNcnkzlzHLL2jG6IzUzvt/KCkOPIFL+Xi8KaEsaPJ66pr+LyX8BGvc5F3qKA X-Received: by 10.152.42.164 with SMTP id p4mr4057878lal.5.1399140332793; Sat, 03 May 2014 11:05:32 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx.google.com with ESMTPSA id q4sm3183858lbh.20.2014.05.03.11.05.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 May 2014 11:05:32 -0700 (PDT) Received: by mail-lb0-f180.google.com with SMTP id w7so4094882lbi.25 for ; Sat, 03 May 2014 11:05:32 -0700 (PDT) X-Received: by 10.152.21.200 with SMTP id x8mr578849lae.58.1399140332243; Sat, 03 May 2014 11:05:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.185.230 with HTTP; Sat, 3 May 2014 11:04:52 -0700 (PDT) X-Originating-IP: [79.97.126.227] From: Flavien Charlon Date: Sat, 3 May 2014 19:04:52 +0100 Message-ID: To: Bitcoin Dev Content-Type: multipart/alternative; boundary=089e0158aef47ea33e04f882be2d X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1WgemA-0005WZ-2h Subject: [Bitcoin-development] Bug with handing of OP_RETURN? 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: Sat, 03 May 2014 18:35:07 -0000 --089e0158aef47ea33e04f882be2d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can someone enlighten me on why the following transaction is being rejected by Bitcoind 0.9.1 with error code -22 on Mainnet. 01000000015594a8c1f84b926e84d70c3a3d5e517e0c12dc07cb1a774b587121fef08f91b80= 00000006b48304502202f534407f6dee4d8932ec22491cbc15a2d31af2bade4e8d417e4b195= 5de57f5902210086e2f0210c16ffff9b85074429b1b1c2f32e19509d7ed19f7804ab7212bd1= 83a012102add59262e234c0045d1f6a3d40a144b47ea0b4214916f55fb6029a079cc0b3cbff= ffffff0358020000000000001976a9140f763005e063382f8f4138f75cdc64d14f8ec16f88a= c00000000000000000a6a054f4101000102753d60860000000000001976a9140f763005e063= 382f8f4138f75cdc64d14f8ec16f88ac00000000 Debug.log shows the following: ERROR: AcceptToMemoryPool : nonstandard transaction: scriptpubkey Here is the decoded transaction: { > "lock_time":0, > "inputs":[ > { > "prev_out":{ > "index":0, > > "hash":"b8918ff0fe2171584b771acb07dc120c7e515e3d3a0cd7846e924bf8c1a89455" > }, > > "script":"48304502202f534407f6dee4d8932ec22491cbc15a2d31af2bade4e8d417e4b= 1955de57f5902210086e2f0210c16ffff9b85074429b1b1c2f32e19509d7ed19f7804ab7212= bd183a012102add59262e234c0045d1f6a3d40a144b47ea0b4214916f55fb6029a079cc0b3c= b" > } > ], > "vout_sz":3, > > "hash":"44130e812fa15f411c6accb739082eb81ecf074470cefb8e617ecf105690f6e1"= , > "vin_sz":1, > "out":[ > { > "address":"12QkihKUyE1hAkv7wmaMj6V3QiN8FfMvpv", > "script_string":"OP_DUP OP_HASH160 > 0f763005e063382f8f4138f75cdc64d14f8ec16f OP_EQUALVERIFY OP_CHECKSIG", > "value":600, > "script":"76a9140f763005e063382f8f4138f75cdc64d14f8ec16f88ac" > }, > { > "script_string":"OP_RETURN 4f41010001 753d", > "value":0, > "script":"6a054f4101000102753d" > }, > { > "address":"12QkihKUyE1hAkv7wmaMj6V3QiN8FfMvpv", > "script_string":"OP_DUP OP_HASH160 > 0f763005e063382f8f4138f75cdc64d14f8ec16f OP_EQUALVERIFY OP_CHECKSIG", > "value":34400, > "script":"76a9140f763005e063382f8f4138f75cdc64d14f8ec16f88ac" > } > ], > "size":245, > "version":1 > } > Outputs are above dust, inputs are not spent. OP_RETURN is supposed to be standard in 0.9.1 and the data is well below 40 bytes, so why is this being rejected? Thanks, Flavien --089e0158aef47ea33e04f882be2d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Can someone enlighten me on why the following transac= tion is being rejected by Bitcoind 0.9.1 with error code -22 on Mainnet.

01000000015594a8c1f84b926e84d70c3a3d5e517e0c12dc07cb1a774b587121fef08f91b80= 00000006b48304502202f534407f6dee4d8932ec22491cbc15a2d31af2bade4e8d417e4b195= 5de57f5902210086e2f0210c16ffff9b85074429b1b1c2f32e19509d7ed19f7804ab7212bd1= 83a012102add59262e234c0045d1f6a3d40a144b47ea0b4214916f55fb6029a079cc0b3cbff= ffffff0358020000000000001976a9140f763005e063382f8f4138f75cdc64d14f8ec16f88a= c00000000000000000a6a054f4101000102753d60860000000000001976a9140f763005e063= 382f8f4138f75cdc64d14f8ec16f88ac00000000

Debug.log shows the following:

ERROR: AcceptToMemoryPool : nonstandard transaction: scriptpubkey

Here is the decoded transaction:

{
=C2=A0=C2=A0 "lock_time":0,
=C2=A0=C2=A0 "inputs&quo= t;:[
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 "prev_out":{
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "index":0,
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "hash":&qu= ot;b8918ff0fe2171584b771acb07dc120c7e515e3d3a0cd7846e924bf8c1a89455" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "script":"48304502202f534407f= 6dee4d8932ec22491cbc15a2d31af2bade4e8d417e4b1955de57f5902210086e2f0210c16ff= ff9b85074429b1b1c2f32e19509d7ed19f7804ab7212bd183a012102add59262e234c0045d1= f6a3d40a144b47ea0b4214916f55fb6029a079cc0b3cb"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0 ],
=C2=A0=C2=A0 "v= out_sz":3,
=C2=A0=C2=A0 "hash":"44130e812fa15f411c6a= ccb739082eb81ecf074470cefb8e617ecf105690f6e1",
=C2=A0=C2=A0 "v= in_sz":1,
=C2=A0=C2=A0 "out":[
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "addre= ss":"12QkihKUyE1hAkv7wmaMj6V3QiN8FfMvpv",
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "script_string":= "OP_DUP OP_HASH160 0f763005e063382f8f4138f75cdc64d14f8ec16f OP_EQUALVE= RIFY OP_CHECKSIG",
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "value":600,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "script":"76a9140f763005e063382f8f4138f75cdc64d14f8ec16f88a= c"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "script_string":= "OP_RETURN 4f41010001 753d",
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 "value":0,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 "script":"6a054f4101000102753d"
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "address":"= 12QkihKUyE1hAkv7wmaMj6V3QiN8FfMvpv",
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "script_string":= "OP_DUP OP_HASH160 0f763005e063382f8f4138f75cdc64d14f8ec16f OP_EQUALVE= RIFY OP_CHECKSIG",
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "value":34400,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 "script":"76a9140f763005e063382f8f4138f75cdc64d14f8ec16f= 88ac"
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0 ],
=C2=A0=C2=A0 "s= ize":245,
=C2=A0=C2=A0 "version":1
}

Outputs are above=C2=A0dust, inputs are not spent= . OP_RETURN is supposed to be standard in 0.9.1 and the data is well below = 40 bytes,=C2=A0so why is this being rejected?

Than= ks,
Flavien

--089e0158aef47ea33e04f882be2d--