Unanswered Questions
141 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
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. ...
4
votes
0
answers
675
views
Bitcoinj: How to fix error "You should use Context.propagate() or a ContextPropagatingThreadFactory"
I'm using bitcoinj from a Scala application... and when I start it, I always get the following errors:
[error] o.b.c.Context - Performing thread fixup: you are accessing bitcoinj via a thread that ...
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
0
answers
742
views
Can I quickly check the cofactor of secp256k1 is 1
I was wondering if there was a quick way to check that the group underlying the elliptic curve secp256k1 was indeed cyclic with the usual point G a generator. I am given the prime number underlying ...
3
votes
0
answers
158
views
Does a bitcoinj SPV node forward transactions for itself?
The bitcoinj library offers a rather convenient WalletAppKit class, which I'd like to accept payments from customers. In order to facilitate the payments I'd offer the customers to send the ...
3
votes
0
answers
257
views
Bitcoin-qt database for BitcoinJ downloadBlockChain()
I am using bitcoinJ to develop a bitcoin based payment module for my project. I have the complete block chain downloaded/in sync with the network on the bitcoin-qt client.
Is there a way I can 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 ...
3
votes
2
answers
815
views
How to sign a transaction using BitcoinJ
I am having problem signing the transaction using BitcoinJ library without the Wallet instance, I only have the Transaction class instance and the ECKey in order to sign the transaction.
Is there a ...
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
1
answer
302
views
How to spend from a custom P2SH script using bitcore-lib
My Javascript/typescript project uses bitcore-lib. It uses Script.buildScriptHashOut to build custom P2SH outputs. How do I spend from this custom output?