Questions tagged [txindex]
23 questions
8
votes
1 answer
Why does Bitcoin Core support a transaction index but not an address index?
Bitcoin Core has the CLI option -txindex to maintain a full transaction index for RPC calls. That sounds useful for some use cases, like for a blockchain explorer. It seems perfectly logical then that there should also be an option to enable an…
Vojtěch Strnad
- 5,623
- 1
- 8
- 31
2
votes
1 answer
What is the current size of txindex folder when txindex=1 set?
Due to reputation limitations, I cannot ask for an update on this question:
How much extra disk space does txindex=1 require?
What is the current size of the txindex folder when txindex=1 is set in the bitcoin.conf file on a fully synced full…
2
votes
1 answer
Non indexing bitcoin and output lookup
Using bitcoin's RPC and txindex=0 is it possible to tell the difference between an existing output being already spent and a non existing transaction output (or transaction id)? Looking at gettxout it's not enough as it would return empty data in…
Andrea Raspitzu
- 68
- 6
2
votes
1 answer
LoadBlockIndexDB: transaction index disabled
I'm trying to run bitcoind on a Raspberry Pi 3 but I'm stuck on an error. The raspberry has a Hdd for storage with a fully indexed blockchain that was synced on my laptop and than copied to the Hdd (txindex=1).
When calling the log file I get this…
Jeans5
- 41
- 2
2
votes
0 answers
Pruned Bitcoind Backend for LND with txindex enabled for version > v0.13.0
I'm looking to prune a bitcoind node that will be used by LND.
https://github.com/lightningnetwork/lnd/commit/410b30b9caaf59a78a29d8b924e14395b7daa59d
From the LND commit recently by Kixunil.
Note that since version 0.13 pruned nodes are…
Michael Tidwell
- 472
- 2
- 11
2
votes
1 answer
Does Bitcoin Core automatically reindex when you enable txindex on a synced full node?
I sync'd a Bitcoin node with Bitcoin Core Qt GUI. Hundreds of GB, naturally.
I realized I needed txindex on for Lightning node stuff, so I changed the configuration file via the GUI to include txindex=1. I launched it on my Mac and then slapped…
lollercoaster
- 181
- 4
1
vote
1 answer
How do I get a full transaction index with Bitcoin Core?
How can I sync bitcoin full node so that I can access all details of transactions occurring on other nodes and other wallets also, like blockchain.info.
I have synced a full node using below commands, but that's giving details of node wallet…
indrajit
- 15
- 3
1
vote
1 answer
How to use -txindex to enable blockchain transaction queries?
I am trying getting the raw of transaction. But I am getting the following error with following command and RPC call as well.
bitcoin-cli getrawtransaction ad844933ceb9cf990fd75ebd2f6731527885e31d1a4c9ea292db235bcd64bdbe
Error
No such mempool…
Lalit Mohan
- 113
- 5
1
vote
1 answer
Txindex=1: how to recognise the blockchain with this option?
This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted the daemon. How can I be sure the blockchain has…
Carl
- 11
- 2
1
vote
1 answer
How do you set txindex to 1?
I am using bitcoin.rpc.RawProxy to connect to bitcoind and scrape the data. But I am getting an error when I gettransaction and I have to reindex the blockchain. Thus I am wondering how I set the txindex to 1 so I can reindex and continue.
SantiClaus
- 153
- 5
1
vote
1 answer
How can I get the whole info for a transaction whose outputs are spent?
I use the RPC method getrawtransaction to get the whole info for a transaction. But if I understood right, it works only for transactions which contain at least one unspent output.
How can I get the whole info as provided by getrawtransaction for a…
Yarik Soltys
- 111
- 2
1
vote
2 answers
Does 'listunspent' work for any address is `txindex=1`?
The listunspent Bitcoin Core RPC method by default works only for addresses loaded in the wallet. Does it work for any address if the node has full index (txindex=1)?
(Technically it could I think, but since this is a 'wallet' RPC, it may be…
Adam B
- 334
- 8
1
vote
1 answer
Can I use the Bitcoin Core CLI to learn the block height at which a transaction was mined?
I am interested in figuring out at what height a transaction was mined, but I cannot find the right command to extract this information. Perhaps it's not possible?
My Bitcoin Core was not involved as sender or receiver of the transaction.
StatsScared
- 357
- 1
- 8
1
vote
0 answers
Transfer Bitcoin Core data into a database
I've downloaded Bitcoin data locally via the Bitcoin Core app install and sync. I'm looking to build a system though which users can query their account balance. I'm thinking of building a simple web interface to accept a wallet address and in the…
kdas
- 131
- 2
1
vote
1 answer
Get raw transaction from tx id without txindex=1
I'm trying to get the raw transaction hex string of a transaction that I know the id from.
I would like to do that without using txindex=1.
As I assume the transaction is unspent (and confirmed) I'm doing the following steps:
bitcoin-cli gettxout…
user44941
- 11
- 3