0
I have installed bitcoin-qt, so I maintain the blockchain locally. I have a list with transaction hashes strings (i.e f5d8ee39a430901c91a5917b9f2dc19d6d1a0e9cea205b009ca73dd04470b9a6) and I want to request information about those trasactions (input/ouput public keys, value etc).
- I know that I can do it with blockchain.info api, but the problem is that there is a huge amount of transactions, and the avereage time of a single transaction is 0.3 secs. (So for millions of transactions there must be days)
- I have also tried bitcointools but this project is becoming obsolete with recent versions of Bitcoin-Qt/bitcoind.
Any suggestions so as to make the whole procedure more efficiently?
gettransaction is a wallet RPC, which report the ledger effects of a transaction you have in your wallet. You can use getrawtransaction, which works on arbitrary blockchain transactions, but you need to put txindex=1 in your bitcoin.conf for it, and reindex once to rebuild the database with transaction index enabled. – Pieter Wuille – 2014-03-08T00:01:06.033