Re: [Bitcoin-development] Looking for a good bitcoin script decompiler in Python

2015-04-29 Thread Jeff Garzik
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('76a9143f320f852a51643d3ffbaa1f

Re: [Bitcoin-development] Looking for a good bitcoin script decompiler in Python

2015-04-29 Thread Richard Moore
I have a library, pycoind (https://github.com/ricmoo/pycoind ) you might find useful. >>> import pycoind >>> str(pycoind.script.Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd97764a88ac'.decode('hex'))) 'OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd

[Bitcoin-development] Looking for a good bitcoin script decompiler in Python

2015-04-29 Thread Braun Brelin
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 applicatio