Author

Topic: bitcoind: getrawtransaction: No information available (Read 1150 times)

member
Activity: 65
Merit: 16
Thanks  Smiley
staff
Activity: 3458
Merit: 6793
Just writing some code
Do you have the tx-index enabled?
member
Activity: 65
Merit: 16
I'm using bitcoin core tesnet console and I want to get raw transactions from this block:

Code:
getblock 0000000000018f31018adfebb342d3904c3f21c241025c4f65ff66263eb86d62

This block has 11 transactions:
Code:
'23dc9c72d5e04e3d511b384f2a6291008b9386b75aef98f8de271bfb48d9438b',
'61732b7f5e4a9b5d96454abb72c9d809e3dfccaedcc34473460d4e0db0d316e3',
...

then I try to get the raw Tx:

Code:
getrawtransaction 23dc9c72d5e04e3d511b384f2a6291008b9386b75aef98f8de271bfb48d9438b

01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff27037e61081a4d696e656420627920416e74506f6f6c200065b9cd2055e76fc400000000ccec0000ffffffff014e18834a000000001976a9144c5220c58749e5474ec4e5bbb0c2cc0342c6f44488ac00000000

The problem is with the next Tx :

Code:
getrawtransaction 61732b7f5e4a9b5d96454abb72c9d809e3dfccaedcc34473460d4e0db0d316e3

No information available about transaction (code -5)

These two Tx exist in the testnet blockchain:

www.blocktrail.com/tBTC

the block
https://www.blocktrail.com/tBTC/block/0000000000018f31018adfebb342d3904c3f21c241025c4f65ff66263eb86d62

first Tx
https://www.blocktrail.com/tBTC/tx/23dc9c72d5e04e3d511b384f2a6291008b9386b75aef98f8de271bfb48d9438b

second Tx
https://www.blocktrail.com/tBTC/tx/61732b7f5e4a9b5d96454abb72c9d809e3dfccaedcc34473460d4e0db0d316e3

I have the same problem with 7 Tx, only 4 are listed in bitcoind.
What is the problem ?
Jump to: