bitcoincore-indexd
bitcoincore-indexd copied to clipboard
Motives unclear
Please add to the README.md something about the purpose and motivations of this project. I am pretty confused as to:
- Who would benefit from this project and how?
- Advantages/disadvantages of this vs bitcoind -txindex=1?
This is an experiment right now. It's unclear where it will lead to.
I personally see this as an architectural improvement. It makes little sense to have all sorts of indexes in Bitcoin Core internally.
I hope with this project, that developers interested in indexing the blockchain, will fine a common ground (this project) to work on extending and adding indexes.
Background:
- https://github.com/bitcoin/bitcoin/pull/10370
- https://github.com/bitcoin/bitcoin/pull/13014
- https://github.com/bitcoin/bitcoin/issues/12651
There are a number of things that bitcoin explorers can do that bitcoind even with —txindex cannot. For instance I’d like to know if a specific address has any UTXO funds on it.
@ChristopherA:
There is a pull request that can do that (even for pruned peers): https://github.com/bitcoin/bitcoin/pull/12196
It scans the utxo set based on addresses (eventually deriven from keys or xpubs). A scan may take about 30seconds.