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 ) 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 ; 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: <09C6C0EA-FE0B-43B4-9114-6482F9CF45BA@ricmoo.com> From: Jeff Garzik Date: Wed, 29 Apr 2015 19:27:19 -0400 Message-ID: To: Richard Moore 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 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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 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
python-bitcoinlib supports script parsing and execution.

On We= d, 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 usef= ul.


>>> import pycoind

>>> str(pycoind.script.= Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd97764a88ac'.deco= de('hex')))
'OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd97764a OP= _EQUALVERIFY OP_CHECKSIG'




On Apr 29, 2015, at 1:12= PM, Braun Brelin <bbrelin@gmail.com> wrote:

Hi all,= =C2=A0

I'm trying to find a good python script that = will take the hash of the locking and=C2=A0
unlocking tx scripts = and output the actual op codes. =C2=A0

Any ideas w= here to look? =C2=A0

Thanks,

<= div>
---------------------------------------------------------------------------= ---
One dashboard for servers and applications across Physical-Virtual-C= loud
Widest out-of-the-box monitoring support with 50+ applications
= Performance metrics, stats and reports that give you Actionable InsightsDeep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.n= et/ddm/clk/290420510;117567292;y___________________________________________= ____
Bitcoin-development mailing list
Bitcoin-development@lis= ts.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 ~ Foun= der
Genetic Mistakes Software inc.
phone: (778) 882-6125
em= ail:=C2=A0r= icmoo@geneticmistakes.com
www:=C2=A0http://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-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment




--
Jeff Garzik
Bitcoin core developer and open source evangelis= t
BitPay, Inc. =C2=A0 =C2=A0 =C2=A0https://bitpay.com/
--001a11c2d69e3731de0514e5534c--