Bitcoin Forum
May 06, 2024, 07:28:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] blockchain-utils : Scripts to help query blockchain  (Read 427 times)
btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 565


View Profile
March 05, 2014, 12:17:46 PM
 #1

Hi,

I was trying to get some basic information like  address balance of any key using bitcoind. Right now, to do this we have to run tools like https://github.com/bitcoin-abe/bitcoin-abe , which work nicely but takes days to complete import. Or we have to query external services like blockchain.info

I found an easier way is to recompile bitcoind with address index enabled  (https://github.com/bitcoin/bitcoin/pull/3652). Also other similar indexes can be added as per your convenience.

Just sharing, small script I wrote that uses this this to print any address credits/debits/balance, closure of bitcoin address.

https://github.com/cnu1439/blockchain-utils

Feel free to suggest changes.

 




Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!