Unanswered Questions
408 questions with no upvoted or accepted answers
5
votes
0
answers
772
views
Bitcoin RPC: How to find the transaction that spends a TXO?
I suspect there is no good way to do it.
However is there any sub-optimal way to find the transaction that spends a transaction output (knowing the txid and index) with Bitcoin RPC?
Assuming txindex=1 ...
4
votes
0
answers
67
views
How to calculate the hashes in Lightning
I was wondering how I calculate the hashes regarding BOLT03 Specification:
The Revocation Pubkey is calculated like this:
revocationpubkey = revocation_basepoint * SHA256(revocation_basepoint || ...
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
1
answer
2k
views
Building Signed Bitcoin Transaction in Java
I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is ...
4
votes
0
answers
413
views
How to explore transaction chain via Original Bitcoin API as blockexplorer does it
Is there any possibility to explore transaction chain via Original Bitcoin API (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) as the blockexplorer does it.
If not, why?
3
votes
0
answers
37
views
How to broadcast transactions in bitcoin regtest mode?
I build three nodes named A,B,C based on bitcoin-regtest image of docker. And these three nodes are in the same network which means they can communicate with each other.
In node A, I use
bitcoin-cli -...
3
votes
0
answers
61
views
Stuck low-feerate transaction after forced closed channel
Someone cooperatively closed a channel with me, then forced closed it later. It has not confirmed. In fact, it is not even showing up in mempool, which says "waiting for transaction". I'm ...
3
votes
1
answer
95
views
How to make sure the user receives lightning payment?
I am working on a side project to allow users to receive some payments from it. When a user clicks a button to withdraw to a lightning address, my webapp makes a request to the host of that lightning ...
3
votes
0
answers
51
views
Calculation of different Pubkeys in Lightning according to BOLT03
Lightning uses different Pubkeys to gain more privacy and security, I am not sure how they are calculated. In BOLT03 it says:
The corresponding private keys can be similarly derived, if the basepoint ...
3
votes
2
answers
388
views
In Electrum, how does one watch/poll a wallet for an incoming payments to a certain address via API?
I want to create a simple way to accepting bitcoins on my own, using Electrum. I don't except big volume. I suppose, I'd have at most a handful of incoming payments in the beginning.
That is, I ...
3
votes
1
answer
134
views
How much on-chain activity is to and from exchanges?
Are there any data services which provide metrics that show how much of the transactions on the Bitcoin blockchain are to and from exchanges?
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 ...