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
|
Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
helo=mx.sourceforge.net)
by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <me@ricmoo.com>) id 1YnbEL-0005tG-1m
for bitcoin-development@lists.sourceforge.net;
Wed, 29 Apr 2015 23:17:25 +0000
X-ACL-Warn:
Received: from mail-ie0-f172.google.com ([209.85.223.172])
by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1YnbEJ-0002P8-Qi
for bitcoin-development@lists.sourceforge.net;
Wed, 29 Apr 2015 23:17:25 +0000
Received: by iejt8 with SMTP id t8so54923695iej.2
for <bitcoin-development@lists.sourceforge.net>;
Wed, 29 Apr 2015 16:17:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:content-type:mime-version:subject:from
:in-reply-to:date:cc:message-id:references:to;
bh=WyJ8UKwiH99LHhOcqgfhxO1NAbYp7jhZeejGqPHinfI=;
b=mMJwIGsB5cWV+rumVgxfnrT8QNgIuSy/UMrUIKXSMpzQM8gFMvac9UdWWaNXmADS8J
ukOyYgPYj8zmAmWUdaq3t6/EwCCD1iiNaGdkSHDP4tQk/mx8iHRPSRZQLZgNQOQOZeeY
NExL8M28X93LhfFYrsiPZVUqLIb5iqWlG/t7n4RrHUwRdjX5CRJcY8GcqguSC5bEYrx1
T1UnxAy2n0/DSao14+u2CmN7Bogz0Vw9HRRQcTYRY8+O2NkaC7VJ1tis4KruC9D/Dist
xMO4lXhGf0yBxQPg47U8D5huwztPACmbX+T0I+8mOHNHHLkfrOnJ6Zi9QIVp258RvoQr
TsKQ==
X-Gm-Message-State: ALoCoQnHTz5yxyBo/R0njKSKswunc9lEZmn5PsJhNNJ4K0ke4Z3VYiT8nnGHF9jP1tlpyuDSlx1S
X-Received: by 10.50.12.10 with SMTP id u10mr7243209igb.8.1430345799847;
Wed, 29 Apr 2015 15:16:39 -0700 (PDT)
Received: from [192.168.2.79] ([184.175.11.44])
by mx.google.com with ESMTPSA id 35sm255758ior.34.2015.04.29.15.16.37
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
Wed, 29 Apr 2015 15:16:38 -0700 (PDT)
Content-Type: multipart/alternative;
boundary="Apple-Mail=_25D79C70-6799-458F-9B2C-9AAE7689EE4D"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Richard Moore <me@ricmoo.com>
In-Reply-To: <CAJ2OvpgLaD3HKqQ_wqbmv6+7ZXWtXMFeHkwKUVOX4ahCZSU8Kg@mail.gmail.com>
Date: Wed, 29 Apr 2015 18:16:36 -0400
Message-Id: <09C6C0EA-FE0B-43B4-9114-6482F9CF45BA@ricmoo.com>
References: <CAJ2OvpgLaD3HKqQ_wqbmv6+7ZXWtXMFeHkwKUVOX4ahCZSU8Kg@mail.gmail.com>
To: Braun Brelin <bbrelin@gmail.com>
X-Mailer: Apple Mail (2.2098)
X-Spam-Score: 0.9 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-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: 1YnbEJ-0002P8-Qi
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:17:25 -0000
--Apple-Mail=_25D79C70-6799-458F-9B2C-9AAE7689EE4D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
I have a library, pycoind (https://github.com/ricmoo/pycoind =
<https://github.com/ricmoo/pycoind>) you might find useful.
>>> import pycoind
>>> =
str(pycoind.script.Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd9776=
4a88ac'.decode('hex')))
'OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd97764a =
OP_EQUALVERIFY OP_CHECKSIG'
> On Apr 29, 2015, at 1:12 PM, Braun Brelin <bbrelin@gmail.com> wrote:
>=20
> Hi all,=20
>=20
> I'm trying to find a good python script that will take the hash of the =
locking and=20
> unlocking tx scripts and output the actual op codes. =20
>=20
> Any ideas where to look? =20
>=20
> Thanks,
>=20
>=20
> =
--------------------------------------------------------------------------=
----
> One dashboard for servers and applications across =
Physical-Virtual-Cloud=20
> 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 <mailto:ricmoo@geneticmistakes.com>
www: http://GeneticMistakes.com <http://geneticmistakes.com/>
--Apple-Mail=_25D79C70-6799-458F-9B2C-9AAE7689EE4D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">I have a library, pycoind (<a =
href=3D"https://github.com/ricmoo/pycoind" =
class=3D"">https://github.com/ricmoo/pycoind</a>) you might find =
useful.</div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D""><span style=3D"font-family: Menlo; =
font-size: 11px;" class=3D"">>>> import =
pycoind</span></div><div class=3D""><div style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;" class=3D""><br class=3D""></div><div=
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">>>> =
str(pycoind.script.Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd9776=
4a88ac'.decode('hex')))</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;" class=3D"">'OP_DUP OP_HASH160 =
3f320f852a51643d3ffbaa1f49bfe521dd97764a OP_EQUALVERIFY =
OP_CHECKSIG'</div></div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><br =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
Apr 29, 2015, at 1:12 PM, Braun Brelin <<a =
href=3D"mailto:bbrelin@gmail.com" class=3D"">bbrelin@gmail.com</a>> =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D"">Hi all, <div class=3D""><br =
class=3D""></div><div class=3D"">I'm trying to find a good python script =
that will take the hash of the locking and </div><div =
class=3D"">unlocking tx scripts and output the actual op codes. =
</div><div class=3D""><br class=3D""></div><div class=3D"">Any =
ideas where to look? </div><div class=3D""><br class=3D""></div><div=
class=3D"">Thanks,</div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div></div>
=
--------------------------------------------------------------------------=
----<br class=3D"">One dashboard for servers and applications across =
Physical-Virtual-Cloud <br class=3D"">Widest out-of-the-box monitoring =
support with 50+ applications<br class=3D"">Performance metrics, stats =
and reports that give you Actionable Insights<br class=3D"">Deep dive =
visibility with transaction tracing using APM Insight.<br class=3D""><a =
href=3D"http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___________=
____________________________________" =
class=3D"">http://ad.doubleclick.net/ddm/clk/290420510;117567292;y________=
_______________________________________</a><br =
class=3D"">Bitcoin-development mailing list<br =
class=3D"">Bitcoin-development@lists.sourceforge.net<br =
class=3D"">https://lists.sourceforge.net/lists/listinfo/bitcoin-developmen=
t<br class=3D""></div></blockquote></div><br class=3D""><div =
apple-content-edited=3D"true" class=3D"">
<span class=3D"Apple-style-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 =
class=3D""><br class=3D"">Richard Moore ~ Founder<br class=3D"">Genetic =
Mistakes Software inc.<br class=3D"">phone: (778) 882-6125<br =
class=3D"">email: <a href=3D"mailto:ricmoo@geneticmistakes.com" =
class=3D"">ricmoo@geneticmistakes.com</a><br class=3D"">www: <a =
href=3D"http://GeneticMistakes.com/" =
class=3D"">http://GeneticMistakes.com</a></span>
</div>
<br class=3D""></body></html>=
--Apple-Mail=_25D79C70-6799-458F-9B2C-9AAE7689EE4D--
|