Bitcoin Forum
May 24, 2024, 11:38:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind: getrawtransaction: No information available  (Read 1129 times)
redPanda (OP)
Member
**
Offline Offline

Activity: 65
Merit: 16


View Profile
October 21, 2015, 06:22:29 PM
 #1

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 ?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6653


Just writing some code


View Profile WWW
October 21, 2015, 06:36:42 PM
 #2

Do you have the tx-index enabled?

redPanda (OP)
Member
**
Offline Offline

Activity: 65
Merit: 16


View Profile
October 21, 2015, 07:07:12 PM
 #3

Thanks  Smiley
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!