Is there any tool to index ALL bitcoind UTXO?

1

2

I've got a full bitcoind node with txindex=1.

listunspent command is useful only if node is in possession of a private key for address. So, if I want to check UTXO for random address, it will not work until all of that UTXO is indexed properly.

So, are there any tools to do that simultaneously with bitcoind?

Of course there is an option to import that private key to bitcoind. But this question is larger - to get unspent for any address.

Alexander Gorelik

Posted 2016-08-18T01:44:49.667

Reputation: 41

Answers

1

This is something that bitcoind doesn't do, but there are block explorer tools that work on top of it that will give you address-specific utxos:

Jimmy Song

Posted 2016-08-18T01:44:49.667

Reputation: 7 067

Toshi is almost an answer. Is their rpc fully compatible with bitcoind rpc? That would be wonderful. I use 3rd party application that relies on bitcoind rpc formatsAlexander Gorelik 2016-08-18T02:11:15.790

Nope, it is not :( And proxy can't help here - their api is limited to read operations. Question here is to find a tool to work with underlying blockchaind and fill its database with utxo index. But, I guess, it's a strange way of doing this anywayAlexander Gorelik 2016-08-18T02:23:08.417

How would these block explorers be doing this? Are they storing every transaction they receive in their own database (such as mysql)?inersha 2016-08-18T15:37:04.330

@inersha exactly. they do crawl through whole blockchain database (files), index it and place it somewhere else (e.g. apps' local database). My idea was if blockchain is open source and everyone knows their inner-db formats, why not to place indexed information right to utxo index of bitcoind?Alexander Gorelik 2016-08-19T03:14:11.940

I haven't tested this one and it's fairly new, but maybe another option: https://github.com/JornC/bitcoin-transaction-explorer

Jannes 2016-08-19T12:39:10.880

Why did addrindex patch not make your list? Also toshi is 404 now.

Giszmo 2018-01-16T18:23:31.750

Toshi appears to be... gone?Shamoon 2018-05-05T14:53:24.733

0

ElectrumX is open source software that you can install on your own node (if you're running one) that will index your UTXOs for any address.

https://github.com/kyuupichan/electrumx

You'd use the blockchain.address.listunspent RPC command along with the address you're interested about

johnconger

Posted 2016-08-18T01:44:49.667

Reputation: 1