summaryrefslogtreecommitdiff
path: root/22/8eb5b9a1a48684122a3972ef245d13946d1d1f
blob: 1bb7cd0e8ba28424f53d5511f87530047533b7e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
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 <flavien.charlon@pixodegames.com>) 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 <bitcoin-development@lists.sourceforge.net>;
	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 <bitcoin-development@lists.sourceforge.net>
	(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 <bitcoin-development@lists.sourceforge.net>;
	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 <flavien.charlon@coinprism.com>
Date: Sat, 3 May 2014 19:04:52 +0100
Message-ID: <CABbpET-uDQRFQ_XAFeWkgc=A1jEW62Q+8BTZZuW5UbZXX0y+HQ@mail.gmail.com>
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
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: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=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

<div dir=3D"ltr"><div>Can someone enlighten me on why the following transac=
tion is being rejected by Bitcoind 0.9.1 with error code -22 on Mainnet.</d=
iv><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-=
width:1px;border-left-style:solid">

01000000015594a8c1f84b926e84d70c3a3d5e517e0c12dc07cb1a774b587121fef08f91b80=
00000006b48304502202f534407f6dee4d8932ec22491cbc15a2d31af2bade4e8d417e4b195=
5de57f5902210086e2f0210c16ffff9b85074429b1b1c2f32e19509d7ed19f7804ab7212bd1=
83a012102add59262e234c0045d1f6a3d40a144b47ea0b4214916f55fb6029a079cc0b3cbff=
ffffff0358020000000000001976a9140f763005e063382f8f4138f75cdc64d14f8ec16f88a=
c00000000000000000a6a054f4101000102753d60860000000000001976a9140f763005e063=
382f8f4138f75cdc64d14f8ec16f88ac00000000</blockquote>


<div><br></div><div>Debug.log shows the following:</div><div><br></div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;padding-lef=
t:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-=
style:solid">

ERROR: AcceptToMemoryPool : nonstandard transaction: scriptpubkey</blockquo=
te><div><br></div><div>Here is the decoded transaction:</div><div><br></div=
><div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;p=
adding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;bo=
rder-left-style:solid">


{<br>=C2=A0=C2=A0 &quot;lock_time&quot;:0,<br>=C2=A0=C2=A0 &quot;inputs&quo=
t;:[<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 &quot;prev_out&quot;:{<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;index&quot;:0,<br>=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;hash&quot;:&qu=
ot;b8918ff0fe2171584b771acb07dc120c7e515e3d3a0cd7846e924bf8c1a89455&quot;<b=
r>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },<br>=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;script&quot;:&quot;48304502202f534407f=
6dee4d8932ec22491cbc15a2d31af2bade4e8d417e4b1955de57f5902210086e2f0210c16ff=
ff9b85074429b1b1c2f32e19509d7ed19f7804ab7212bd183a012102add59262e234c0045d1=
f6a3d40a144b47ea0b4214916f55fb6029a079cc0b3cb&quot;<br>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }<br>=C2=A0=C2=A0 ],<br>=C2=A0=C2=A0 &quot;v=
out_sz&quot;:3,<br>=C2=A0=C2=A0 &quot;hash&quot;:&quot;44130e812fa15f411c6a=
ccb739082eb81ecf074470cefb8e617ecf105690f6e1&quot;,<br>=C2=A0=C2=A0 &quot;v=
in_sz&quot;:1,<br>=C2=A0=C2=A0 &quot;out&quot;:[<br>=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 {<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;addre=
ss&quot;:&quot;12QkihKUyE1hAkv7wmaMj6V3QiN8FfMvpv&quot;,<br>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;script_string&quot;:=
&quot;OP_DUP OP_HASH160 0f763005e063382f8f4138f75cdc64d14f8ec16f OP_EQUALVE=
RIFY OP_CHECKSIG&quot;,<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 &quot;value&quot;:600,<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 &quot;script&quot;:&quot;76a9140f763005e063382f8f4138f75cdc64d14f8ec16f88a=
c&quot;<br>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;script_string&quot;:=
&quot;OP_RETURN 4f41010001 753d&quot;,<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &quot;value&quot;:0,<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &quot;script&quot;:&quot;6a054f4101000102753d&quot;<br>=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 },<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;address&quot;:&quot;=
12QkihKUyE1hAkv7wmaMj6V3QiN8FfMvpv&quot;,<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;script_string&quot;:=
&quot;OP_DUP OP_HASH160 0f763005e063382f8f4138f75cdc64d14f8ec16f OP_EQUALVE=
RIFY OP_CHECKSIG&quot;,<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 &quot;value&quot;:34400,<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 &quot;script&quot;:&quot;76a9140f763005e063382f8f4138f75cdc64d14f8ec16f=
88ac&quot;<br>

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }<br>=C2=A0=C2=A0 ],<br>=C2=A0=C2=A0 &quot;s=
ize&quot;:245,<br>=C2=A0=C2=A0 &quot;version&quot;:1<br>}<br></blockquote>
</div><div><br></div><div>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?</div><div><br></div><div>Than=
ks,</div>

<div>Flavien<br></div><div><br></div></div>

--089e0158aef47ea33e04f882be2d--