Author

Topic: Bitcoind "getrawtransaction" refusing to show certain transactions (Read 908 times)

newbie
Activity: 52
Merit: 0
Well I was informed on IRC that I need to add txindex=1 to my bitcoin.conf and then reindex.  I think that should fix it but I won't know for sure until this thing reindexes (which at 20GB+ may take a while  Undecided)
newbie
Activity: 52
Merit: 0
Hello I'm in the early stages of developing a local blockchain browser.  I would like the final form to be basically what you would see on https://blockchain.info but done through a local program interfacing with the bitcoind/bitcoin-qt JSON-RPC interface for both faster speed and independence from a third-party hosting the viewer.

Anyway I ran into a problem where seemingly random transactions refuse to show giving the following error

Code:
bitcoind getrawtransaction 4b262acf8c947ecbe5024106cc5b89b8f9ff849ce2cbc6108475a8f4b0f204e7
{"code":-5,"message":"No information available about transaction"}

Yet I can see on blockchain.info that this is indeed a valid transaction:

https://blockchain.info/tx/4b262acf8c947ecbe5024106cc5b89b8f9ff849ce2cbc6108475a8f4b0f204e7?show_adv=true

And even stranger, getrawtransaction does work on 344052678313f83f81b5ac8c1ae5af374f37cc831b6adf6ee0c7695ac9facc80 which uses 4b262acf8c947ecbe5024106cc5b89b8f9ff849ce2cbc6108475a8f4b0f204e7 as one of its inputs.  I asked someone on IRC to test that same transaction and he got the same error so it's not just my client either.  I'm just really puzzled as to why this is and why it's only certain transactions that have this problem (most transactions that I've tried have worked just fine.)  This pretty much puts a halt to my project until I can find an answer...
Jump to: