Questions tagged [python-bitcoinlib]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
65 views

Problem spending funds from P2WSH address: non-mandatory-script-verify-flag

I've tried to find an answer here and on BTT but without luck so far. I'm having issues creating a transaction to spend from a P2WSH address which I created and sent funds to. I based my code off of ...
0
votes
0answers
20 views

How can I programmatically check if a 12 word mnemonic is valid? [duplicate]

I would like to use python to check if a 12 word mnemonic is valid. How can this be done?
0
votes
1answer
32 views

Does python-bitcoinlib and the Bitcoin Core functional test framework share code? Were changes ever pushed down/upstream?

Does python-bitcoinlib and the Bitcoin Core functional test framework share code? Were changes ever pushed down/upstream?
0
votes
0answers
34 views

How to generate bitcoin address with gpu in python [duplicate]

I have seen a lot of bitcoin address generator with python, but all of them run on cpu, and are very slow,, for fun and educational purposes, I have been trying to use gpu to run the python script to ...
0
votes
0answers
47 views

What is the fastes ways to get priv to pub at bitcoin in python ( compressed )?

What is they fastest lib, way to get compressed pub keys from priv keys ? i was try "bit" lib and "bitcoin python libs" but they slow and bitcoin( dont give compressed keys )
0
votes
0answers
24 views

python-bitcoinlib: Synchronise block headers

I am trying to run a simple python script to synchronise the Bitcoin block headers for an SPV client, using the python-bitcoinlib. This is the code that I am running, after doing the handshake: msg = ...
2
votes
1answer
1k views

How can I sign transaction hex with Python library

I have a unsigned transaction hex. Now I want to sign this transaction input with my private key in Python. Are there any Python libraries? Transaction Hex ...
4
votes
2answers
6k views

How to make a simple payment with the python-bitcoinlib?

I've been using the bitcoin-python library for making payments from within Python. This worked pretty simple: >>> import bitcoinrpc >>> conn = bitcoinrpc.connect_to_local() >>&...