python-bitcoinlib icon indicating copy to clipboard operation
python-bitcoinlib copied to clipboard

Python3 library providing an easy interface to the Bitcoin data structures and protocol.

Results 53 python-bitcoinlib issues
Sort by recently updated
recently updated
newest added

This pull request refactors some of the BaseProxy \_\_init\_\_ methods code to better support the reading in of RPC credentials. Currently the code will only attempt to read in a...

I've had this code for a while, figured I'd submit it. I've run it on the network and it has worked, but you'll definitely want to review it. Also, to...

As discussed in https://github.com/petertodd/python-bitcoinlib/pull/38 I suggest the following approach.

FileNotFoundError: Could not find module 'libeay32' (or one of its dependencies). Try using the full path with constructor syntax.

root@redwood:/etc/znc/modules# cat test.py ``` import bitcoin.rpc txid = '55374e78c86bb739c0ef69f92e3f0cfa9b233e293426170c65a2fe381fd54593' proxy = **bitcoin.rpc.Proxy(btc_conf_file='/etc/znc/bitcoin.conf')** ``` root@redwood:/etc/znc/modules# python3.5 test.py Traceback (most recent call last): File "test.py", line 3, in proxy = bitcoin.rpc.Proxy(btc_conf_file='/etc/znc/bitcoin.conf') File...

Dear all, I have the following snippet where I just get a block and its transactions using different processes: ```python from neo4j import GraphDatabase from decouple import config import bitcoin...

Implement the rpc command `getblocktemplate`. In this PR I'm implementing the default behavior as in `bitcoin-cli getblocktemplate`

The length of bloom filter as determined in this line https://github.com/petertodd/python-bitcoinlib/blob/b5540e8a8a138f2a4872c34ce4223b8f4e6856d9/bitcoin/bloom.py#L116 becomes `0` when number of elements `nElements` is `1` and `nFPRate` is more than `0.03`. This causes every pubkeyhash...

https://github.com/bitcoin/bitcoin/pull/17975

https://github.com/petertodd/python-bitcoinlib/blob/ebc85bf3f75508aba92d3a94cd024670bf25be76/bitcoin/core/__init__.py#L425 if flagbyte != 1, then it will try to deserialize as non-witness, whereas Core in `UnserializeTransaction` checks that flags are actually expected (only first bit is expected now) and...