bitcoin-code
bitcoin-code copied to clipboard
Python example code for "Bitcoins the hard way: Using the raw Bitcoin protocol"
> File "C:\Python27\xxx.py", line 3, in > import txnUtils > File "C:\Python27\xxx.py", line 9, in > import keyUtils > ImportError: No module named keyUtils Where can I download these modules...
the functions for WIF and private key are wrong or out-of-date, they generate a WIF of length 51, but actually we use WIF of length 52. for example: 5K7T2qR7K5MUMDmkJvCEPbUeALuPyc6LFEnBiwWLuKCEVdBp8qV length...
A update for python3 would be nice
[bitcoin-code](https://github.com/shirriff/bitcoin-code/tree/master)/txnUtils.py has the following function defined: ``` # Substitutes the scriptPubKey into the transaction, appends SIGN_ALL to make the version # of the transaction that can be signed def getSignableTxn(parsed):...