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
|
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
helo=mx.sourceforge.net)
by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <jgarzik@bitpay.com>) id 1YnbrF-0002X4-4p
for bitcoin-development@lists.sourceforge.net;
Wed, 29 Apr 2015 23:57:37 +0000
Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of bitpay.com
designates 209.85.214.170 as permitted sender)
client-ip=209.85.214.170; envelope-from=jgarzik@bitpay.com;
helo=mail-ob0-f170.google.com;
Received: from mail-ob0-f170.google.com ([209.85.214.170])
by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1YnbrB-0006xJ-J6
for bitcoin-development@lists.sourceforge.net;
Wed, 29 Apr 2015 23:57:37 +0000
Received: by obcux3 with SMTP id ux3so32482412obc.2
for <bitcoin-development@lists.sourceforge.net>;
Wed, 29 Apr 2015 16:57:27 -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:in-reply-to:references:from:date
:message-id:subject:to:cc:content-type;
bh=PTrzarT0Vl8X4ZNCs9OMx0snItJwHTawi8rpTpbySVA=;
b=RYT740CY9PRlZmNQxOxzlwXNA9wYXJ2ukJWqWGK3TKddMIm3wLKwvwV/pIH5qTR8Rg
dawlNVpVYcvJLfYbif7jd39wgHL7v2+gE4QTIRfN4TXN2nXzNRFpP87/4ZHoW4S+LNLQ
5p4nbfJkL8mruPUIQNpWK49ZpoAFTJOsV3QwreDJLBUVjx8vzyHd/1qSS/ApmgqBunLC
ZQGUA0Wpx9CdPieSnWOtH1VMsFLf5ta8t72JEskWUwujImAg6iEC1jZKq8e2rpvNy8RH
zj0osiG+MuUpcgFNjiN799Uak8eHvtrHhIHhxmjPvU8vXWcy6NIjVRGo3cQ3H2hv2QaP
lxOw==
X-Gm-Message-State: ALoCoQmpa/E1XJ/TvDywig2Z3dpMdYuLg5VHFzMXo3YS9P1x2aJ5tuCGW0xdkQjz5SUrddgiovkR
X-Received: by 10.182.165.69 with SMTP id yw5mr1187226obb.5.1430350059740;
Wed, 29 Apr 2015 16:27:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.202.108.149 with HTTP; Wed, 29 Apr 2015 16:27:19 -0700 (PDT)
In-Reply-To: <09C6C0EA-FE0B-43B4-9114-6482F9CF45BA@ricmoo.com>
References: <CAJ2OvpgLaD3HKqQ_wqbmv6+7ZXWtXMFeHkwKUVOX4ahCZSU8Kg@mail.gmail.com>
<09C6C0EA-FE0B-43B4-9114-6482F9CF45BA@ricmoo.com>
From: Jeff Garzik <jgarzik@bitpay.com>
Date: Wed, 29 Apr 2015 19:27:19 -0400
Message-ID: <CAJHLa0Pmv_XwNdcwy2JUeCpPHhj5nN-RQHzgYnVXKqUtPWxkZw@mail.gmail.com>
To: Richard Moore <me@ricmoo.com>
Content-Type: multipart/alternative; boundary=001a11c2d69e3731de0514e5534c
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: 1YnbrB-0006xJ-J6
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Looking for a good bitcoin script
decompiler in Python
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: Wed, 29 Apr 2015 23:57:37 -0000
--001a11c2d69e3731de0514e5534c
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
python-bitcoinlib supports script parsing and execution.
On Wed, Apr 29, 2015 at 6:16 PM, Richard Moore <me@ricmoo.com> wrote:
> I have a library, pycoind (https://github.com/ricmoo/pycoind) you might
> find useful.
>
>
> >>> import pycoind
>
> >>>
> str(pycoind.script.Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd977=
64a88ac'.decode('hex')))
> 'OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd97764a OP_EQUALVERIF=
Y
> OP_CHECKSIG'
>
>
>
>
> On Apr 29, 2015, at 1:12 PM, Braun Brelin <bbrelin@gmail.com> wrote:
>
> Hi all,
>
> I'm trying to find a good python script that will take the hash of the
> locking and
> unlocking tx scripts and output the actual op codes.
>
> Any ideas where to look?
>
> Thanks,
>
>
>
> -------------------------------------------------------------------------=
-----
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
>
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y__________________=
_____________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
>
> .=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=
=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=
=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8><(((=C2=BA>
>
> Richard Moore ~ Founder
> Genetic Mistakes Software inc.
> phone: (778) 882-6125
> email: ricmoo@geneticmistakes.com
> www: http://GeneticMistakes.com
>
>
>
> -------------------------------------------------------------------------=
-----
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development
>
>
--=20
Jeff Garzik
Bitcoin core developer and open source evangelist
BitPay, Inc. https://bitpay.com/
--001a11c2d69e3731de0514e5534c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">python-bitcoinlib supports script parsing and execution.<b=
r><br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On We=
d, Apr 29, 2015 at 6:16 PM, Richard Moore <span dir=3D"ltr"><<a href=3D"=
mailto:me@ricmoo.com" target=3D"_blank">me@ricmoo.com</a>></span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word"><div=
>I have a library, pycoind (<a href=3D"https://github.com/ricmoo/pycoind" t=
arget=3D"_blank">https://github.com/ricmoo/pycoind</a>) you might find usef=
ul.</div><div><br></div><div><br></div><div><span style=3D"font-family:Menl=
o;font-size:11px">>>> import pycoind</span></div><div><div style=
=3D"margin:0px;font-size:11px;font-family:Menlo"><br></div><div style=3D"ma=
rgin:0px;font-size:11px;font-family:Menlo">>>> str(pycoind.script.=
Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd97764a88ac'.deco=
de('hex')))</div><div style=3D"margin:0px;font-size:11px;font-famil=
y:Menlo">'OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd97764a OP=
_EQUALVERIFY OP_CHECKSIG'</div></div><div><br></div><div><br></div><div=
><br></div><br><div><blockquote type=3D"cite"><div>On Apr 29, 2015, at 1:12=
PM, Braun Brelin <<a href=3D"mailto:bbrelin@gmail.com" target=3D"_blank=
">bbrelin@gmail.com</a>> wrote:</div><br><div><div dir=3D"ltr">Hi all,=
=C2=A0<div><br></div><div>I'm trying to find a good python script that =
will take the hash of the locking and=C2=A0</div><div>unlocking tx scripts =
and output the actual op codes. =C2=A0</div><div><br></div><div>Any ideas w=
here to look? =C2=A0</div><div><br></div><div>Thanks,</div><div><br></div><=
div><br></div></div>
---------------------------------------------------------------------------=
---<br>One dashboard for servers and applications across Physical-Virtual-C=
loud <br>Widest out-of-the-box monitoring support with 50+ applications<br>=
Performance metrics, stats and reports that give you Actionable Insights<br=
>Deep dive visibility with transaction tracing using APM Insight.<br><a hre=
f=3D"http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________=
________________________________" target=3D"_blank">http://ad.doubleclick.n=
et/ddm/clk/290420510;117567292;y___________________________________________=
____</a><br>Bitcoin-development mailing list<br><a href=3D"mailto:Bitcoin-d=
evelopment@lists.sourceforge.net" target=3D"_blank">Bitcoin-development@lis=
ts.sourceforge.net</a><br><a href=3D"https://lists.sourceforge.net/lists/li=
stinfo/bitcoin-development" target=3D"_blank">https://lists.sourceforge.net=
/lists/listinfo/bitcoin-development</a><br></div></blockquote></div><br><di=
v>
<span style=3D"border-collapse:separate;border-spacing:0px">.=C2=B7=C2=B4=
=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=
=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=C2=B4=C2=AF`=C2=B7.=C2=B8=C2=B8.=C2=B7=
=C2=B4=C2=AF`=C2=B7.=C2=B8><(((=C2=BA><br><br>Richard Moore ~ Foun=
der<br>Genetic Mistakes Software inc.<br>phone: <a href=3D"tel:%28778%29%20=
882-6125" value=3D"+17788826125" target=3D"_blank">(778) 882-6125</a><br>em=
ail:=C2=A0<a href=3D"mailto:ricmoo@geneticmistakes.com" target=3D"_blank">r=
icmoo@geneticmistakes.com</a><br>www:=C2=A0<a href=3D"http://GeneticMistake=
s.com/" target=3D"_blank">http://GeneticMistakes.com</a></span>
</div>
<br></div><br>-------------------------------------------------------------=
-----------------<br>
One dashboard for servers and applications across Physical-Virtual-Cloud<br=
>
Widest out-of-the-box monitoring support with 50+ applications<br>
Performance metrics, stats and reports that give you Actionable Insights<br=
>
Deep dive visibility with transaction tracing using APM Insight.<br>
<a href=3D"http://ad.doubleclick.net/ddm/clk/290420510;117567292;y" target=
=3D"_blank">http://ad.doubleclick.net/ddm/clk/290420510;117567292;y</a><br>=
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href=3D"mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-develo=
pment@lists.sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/bitcoin-development=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-de=
velopment</a><br>
<br></blockquote></div><br><br clear=3D"all"><br>-- <br><div class=3D"gmail=
_signature">Jeff Garzik<br>Bitcoin core developer and open source evangelis=
t<br>BitPay, Inc. =C2=A0 =C2=A0 =C2=A0<a href=3D"https://bitpay.com/" targe=
t=3D"_blank">https://bitpay.com/</a></div>
</div>
--001a11c2d69e3731de0514e5534c--
|