Unanswered Questions
219 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
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
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
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
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
2
answers
1k
views
RPC port 8332 not accessible after reboot
I have compiled and installed Bitcoin Core for the first time on Debian 11. Everything is up and running except that RPC port 8332 is not accessible after a reboot.
I get the following error running ...
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
529
views
bitcoind inconsistent authentication error
I am using a Linux computer.
The issue I am having is that sometimes I have to use "kill -s 9 (bitcoind pid)" and restart bitcoind using "bitcoind -txindex" because bitcoind will sometimes not let me ...
3
votes
0
answers
182
views
getblocktemplate times out after being called many times
I am writing a program about bitcoin mining. It calls the RPC method getblocktemplate every second. Sometimes bitcoind doesn't reply to my RPC getblocktemplate request, but bitcoind still accepted new ...
3
votes
0
answers
129
views
When does the "reject" string have an empty reject reason upon submitting a new block?
I submitted a new block using the rpc command submit. And I just got a "reject" string without a reject reason.
I checked the bitcoind source code, and found that it usually sends a reject reason; ...
3
votes
0
answers
281
views
Bitcoind JSON-RPC - getbalance with 0 confirmations not included
When I access bitcoind through JSON-RPC and query:
getbalance '*' 0
It does not include transactions with 0 confirmations.
Only when a transaction has least 1 confirmation it is included in that ...
3
votes
1
answer
195
views
What is the best way to implement withdrawal in online service?
Suppose we have a service, which holds user balance in Bitcoin.
How to implement withdrawal from bitcoin perspective?
Which RPC call to use? How to archive transaction to have a proof of sending ...
2
votes
0
answers
80
views
Clarity on rpc flag design to pass boolean arguments
I am working with RPCs flags that may have a boolean argument which is extracted using GetBoolArg and there are various ways to pass Boolean arguments. For example
-fastprune=1 // true
-fastprune=...
2
votes
0
answers
36
views
Identifying Test-Only RPC Arguments
I am trying to identify test-only rpc arguments in init.cpp and wanted to confirm if the test-only options are those with ArgsManager::DEBUG_ONLY with OptionsCategory::DEBUG_TEST, or ArgsManager::...