Unanswered Questions
139 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
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
0
answers
466
views
Electrum Seed Purpose for MultiSig Wallet
I'm curious as to what exactly is protected by the seed that Electrum generates for a multisig wallet. My knowledge of the protocol implementation is rather basic, so please correct me where I'm wrong ...
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
15
views
Does BIP86 not use a unique prefix for extended keys?
Do BIP86 extended keys not use a unique prefix?
For example:
BIP44 = xprv/xpub
BIP49 = yprv/ypub
BIP84 = zprv/zpub
BIP 86 = xprv/xpub?
In other words, do BIP86 extended keys share the same ...
2
votes
0
answers
58
views
Using BIP32 derivations, can all seeds theoretically produce all public keys?
I was interested in how many possible combinations of BIP 32 derivation paths exist, which could result in a public key derived from a seed. While some people colloquially call it "unlimited,&...
2
votes
0
answers
82
views
How to claim funds in a multisig address from a money pool psbt?
Mostly followed this guide on how to create a psbt where multiple users pool money together. Everything is done in regtest.
The gist of what I did is as follows:
Created 2 different descriptor ...
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
1
answer
192
views
Create and spend P2WSH that locks coins with OP_CHECKLOCKTIMEVERIFY
I'm attempting to create a P2SWH address with a script that locks the coins for some time. And then I want to spend those coins from that address.
I've read a lot, some of the most relevant:
BIP173
...
2
votes
0
answers
358
views
Importing BIP-84 keys to Bitcoin Core or similar?
I generated a mnemonic and keys using the BIP-84 scheme and sent funds to a public address from that scheme over time. I have been using this as a paper wallet, unattached to any wallet software.
I ...
2
votes
0
answers
45
views
HD wallet usage in Bitcoin & Lightning combined wallets
Is there a best practice / recommendation for a Bitcoin & Lightning combined wallet, regarding the HD wallet used in the Bitcoin wallet and the HD wallet used in the Lightning wallet?
no relation,...