16
6
I'm trying to read raw transactions but there is a problem; Seems like getrawtransaction only works for recent transactions, old transactions give me the next error:
No information available about transaction (code -5)
Why is that? How can i see raw transactions from old transactions? When i say "old" its like from 5 days ago. I really need those transactions to get the sender addresses for each one, if "aging" is the case i can keep that data in my own database before it gets old but...Maybe it's not about old/new transactions, maybe there is another factor that won't let me read some raw transactions, you guys know something about that?
Here's how I'm using the command:
Working:
getrawtransaction 94628caff8b926f1247779aa687fc5cce5063f3389f291192ce1e52fae9a2655 1
Not working:
getrawtransaction 6e0f6cc64a08241c62eb93427923e95319c1e16db56ddeefa0c837944ce63d4b 1
Thank you!
Is this from BitcoinJ or the standard client? – Nick ODell – 2013-04-04T22:00:47.597
It's from Bitcoind and Bitcoin-qt debug console. I sincerely don't know about BitcoinJ. – user3418 – 2013-04-04T22:05:06.083
Can you give us the command you're running? – Nick ODell – 2013-04-04T22:09:51.243
getrawtransaction 94628caff8b926f1247779aa687fc5cce5063f3389f291192ce1e52fae9a2655 1 – user3418 – 2013-04-04T22:12:41.333
getrawtransaction 6e0f6cc64a08241c62eb93427923e95319c1e16db56ddeefa0c837944ce63d4b 1 – user3418 – 2013-04-04T22:13:45.697
This may sound like an is-it-plugged-in question, but is there a transaction that hashes out to that? blockchain.info doesn't seem to know about it. – Nick ODell – 2013-04-04T22:15:10.820
Those are two examples, the first one is a new transaction and it works, the second one is an old transaction and brings me the error, both transactions are testnet transactions. both were used on the debug console of bitcoin-qt – user3418 – 2013-04-04T22:15:14.763
Yup, thats because those are testnet transactions. – user3418 – 2013-04-04T22:16:04.143