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">&lt;<a href=3D"=
mailto:me@ricmoo.com" target=3D"_blank">me@ricmoo.com</a>&gt;</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">&gt;&gt;&gt; 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">&gt;&gt;&gt; str(pycoind.script.=
Tokenizer(&#39;76a9143f320f852a51643d3ffbaa1f49bfe521dd97764a88ac&#39;.deco=
de(&#39;hex&#39;)))</div><div style=3D"margin:0px;font-size:11px;font-famil=
y:Menlo">&#39;OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd97764a OP=
_EQUALVERIFY OP_CHECKSIG&#39;</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 &lt;<a href=3D"mailto:bbrelin@gmail.com" target=3D"_blank=
">bbrelin@gmail.com</a>&gt; wrote:</div><br><div><div dir=3D"ltr">Hi all,=
=C2=A0<div><br></div><div>I&#39;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&gt;&lt;(((=C2=BA&gt;<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--