python-bitcoinlib
python-bitcoinlib copied to clipboard
Python3 library providing an easy interface to the Bitcoin data structures and protocol.
Backport of config handling code from python-bitcointx. Handles sections, host:port specified in rpcconnect (bitcoin core allows this), special case for cookie dir for testnet (it is currently named `testnet3`) original...
I couldn't connect to the testnet by cookie. First commit fixes it. Then I tried to refactor a bit to flatten the structure of the config parser. Added some tests.
my code is it I want parse the text inside messagge version in response from another node: How can I parse the binary result inside `ver_ret` and return a structured...
With Bitcoin 0.21.0 we there is no default wallet, and I realized that there is no way to change the base URL inside the library to change the RPC URL....
This allows the library to rise two errors: - flagbyte !=1 ( #220 ) - flagbute == 1 but wit.is_null() ( #221 ) An invalid_tx is added with flagbyte 02...
TLDR: I added all RPC calls to bitcoin/rpc.py and slightly altered some existing calls to update the API. I also added OP_TRUE and OP_FALSE to script.py. Changes: I added all...
Fix for the unexpected unindent error Sphinx raises when generating docs. Adding the escapes will fix that warning. We should move to explicitly specifying params in docstrings.
getnetworkinfo replaces getinfo on versions > 0.16.0 . https://github.com/bitcoin/bitcoin/pull/8780
`core.serialize.VarIntSerializer` now checks for value bounds of deserialized compact size integer. If it enconters non-canonical encoding, or the size bigger than `MAX_SIZE` (0x02000000) it throws DeserializationValueBoundsError I just noticed that...
Adding support for simnet. Parameters referenced from [btcd](https://github.com/btcsuite/btcd/blob/master/chaincfg/params.go). Only parameter here I couldn't find was for `MESSAGE_START`. Let me know if there is a standard resource out there to figure...