Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: sudocoin on April 23, 2014, 12:40:10 AM



Title: bitcoind blockchain info
Post by: sudocoin on April 23, 2014, 12:40:10 AM
Hello! I am currently using the blockchain.info API in order to get certain information about an address, confirmations, txids, etc. I would not like to rely on blockchain.info's API, I would like to use the local bitcoind client I am running on Ubuntu 12.04 in order to query public key addresses. It seems I can only query addresses that have been used in my wallet. Is there anyway I can search the local blockchain data on my machine in order to stop using the public API? How is blockchain doing this? Thanks for any help or pointers.


Title: Re: bitcoind blockchain info
Post by: Jori on April 23, 2014, 08:50:25 AM
I'm sorry that I just post a link, but it is unnecessary to explain the wheel twice, and this wheel is perfectly described in this answer by Pieter Wuille: http://bitcoin.stackexchange.com/questions/10090/how-to-get-an-addresss-balance-with-the-bitcoin-client.

(@Mods, I am not exactly sure about the answering policies here, but if this is not allowed could one please message me and remove this post?)


Title: Re: bitcoind blockchain info
Post by: Yuki1988 on April 23, 2014, 06:12:52 PM
I'm sorry that I just post a link, but it is unnecessary to explain the wheel twice, and this wheel is perfectly described in this answer by Pieter Wuille: http://bitcoin.stackexchange.com/questions/10090/how-to-get-an-addresss-balance-with-the-bitcoin-client.

I believe that will work. With -txindex, qt will maintain full transaction index.