[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

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 https://github.com/ricmoo/pycoind) you might find useful. import pycoind str(pycoind.script.Tokenizer('76a9143f320f852a51643d3ffbaa1f49bfe521dd97764a88ac'.decode('hex'))) 'OP_DUP OP_HASH160 3f320f852a51643d3ffbaa1f49bfe521dd97764a

Re: [Bitcoin-development] Reusable payment codes

2015-04-29 Thread Justus Ranvier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/27/2015 02:53 PM, Brian Deery wrote: 1. There will be a 1:1 relationship between a payment code owner and their identity. Presumably the payment code would be strongly and publicly tied to the identity. This makes the notification address

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 m...@ricmoo.com wrote: I have a library, pycoind (https://github.com/ricmoo/pycoind) you might find useful. import pycoind