Skip to main content

Unanswered Questions

155 questions with no upvoted or accepted answers
4 votes
0 answers
305 views

Creating a P2SH-P2WPKH using Bitcoin Functional Test Framework

I'm using the Bitcoin Functional Test framework to understand how SegWit works by analyzing and building a P2SH-P2WPKH transaction. When I run my code the transaction gets created, but when I inspect ...
4 votes
1 answer
78 views

What are the malleability threat vectors when passing PSBTs to other actors?

If I am passing a PSBT (Partially Signed Bitcoin Transaction) between multiple people, and I pass on my signature for my UTXOs for given inputs, can someone take advantage of malleability and cheat me ...
4 votes
1 answer
1k views

Generate addresses from Trezor's xPub using Python

I am trying to generate BIP32 HD addresses from my Trezors xPub key. I keep getting errors with most of the libs our there. What am I missing? pywallet: from pywallet import wallet xpub = '...
4 votes
0 answers
909 views

To sign raw transaction with Segwit Address in the TestNet

I am using Bitcoin core 0.14.1 testnet. I created a Segwit address. transfer some coins to this address. Now I want to spend it. I created a raw transaction using console command i.e. ...
3 votes
1 answer
472 views

Partial private key recovery

I had the pleasure of setting up a Bitcoin wallet using the Blue Wallet app and diligently noted down the 52 characters of my private key on a piece of paper for backup purposes. Upon revisiting the ...
3 votes
0 answers
219 views

How can inputs be retrieved efficiently when parsing the bitcoin blockchain?

I downloaded the Bitcoin blockchain. I have a full node and I would like to do some parsing. I use RPC to send commands to Bitcoin Core from my Python program. When I get a block it works fine but the ...
3 votes
0 answers
2k views

How to sign bitcoin raw transactions with Python offline

I have a raw bitcoin transaction created using createrawtransaction unsigned_tx = "...
3 votes
0 answers
424 views

HD Wallets - Generating P2SH-P2WSH Addresses from a ypub-type mpks in PHP?

I am writing a webapp in PHP that needs to generate Bitcoin addresses from their mpk. I have successfully done it for P2SH addresses (starting with a 1, with a xpub mpk) using the BitWasp php library,...
3 votes
0 answers
336 views

pyminer for getblocktemplate/segwit?

I'm trying to resurrect my simpleminer.py script, based on pyminer, for use with Bitcoin 0.13.2 but the changes to the code over the last few years are overwhelming. I found out how to use ...
3 votes
2 answers
618 views

How to calculate P2WSH signatures with OP_CODESEPARATOR?

I read the bip143, but didn't understand how to calculate the scriptCode of p2wsh. bip143 told us: A new transaction digest algorithm is defined, but only applicable to sigops in version 0 witness ...
2 votes
0 answers
180 views

Bitcoin Core RPC server not working

I have downloaded and installed and got up and running a bitcoin core node, and it is running fine as far as people are connecting to it on port 8333 just fine. However I can't seem to connect to it ...
2 votes
0 answers
110 views

How to get transaction fee info using Python from an Electrum server?

I can get a raw transaction and parse it using electrum and bitcoinlib fairly easily: import bitcoinlib from electrum.daemon import Daemon from electrum.simple_config import SimpleConfig class ...
2 votes
0 answers
217 views

How to generate a legacy-compatible address using Ledger Live?

I'm trying to withdraw funds from Bittrex to my Ledger device, but it seems they do not accept native Segwit addresses. Is it possible to generate a legacy-compatible address (for instance a P2SH-...
2 votes
0 answers
62 views

How to generate addresses for all output types when importing a wallet to Bitcoin Core?

I have a friend that has an issue with Bitcoin Core: He generated a wallet with Coldcard, imported it into Bitcoin Core, received on both bech32 addresses and nested ones. He lost access to that PC ...
2 votes
0 answers
235 views

What tools can I use to create and replace RBF transactions?

I'd like to create transactions within my python application, that support replace-by-fee RBF (BIP125). Apparently, if I want to be able to replace my transaction later on, I need to signal that ...

15 30 50 per page
1
2 3 4 5
11