Author

Topic: Bug in the official bitcoind? (Read 756 times)

legendary
Activity: 1072
Merit: 1181
May 25, 2013, 05:30:37 PM
#2
The genesis block's output is not actually part of the transaction database, as it cannot be spent.

The reason is simply because no version of bitcoin ever added it to its database when creating a new datadir. The reason is unknown - it may have been a bug or it may have been intentional by Satoshi, but changing it now would be a hard fork (which would only be exploitable by Satoshi, but still), and there is no good reason to do so now.
full member
Activity: 148
Merit: 100
Crazy!
May 25, 2013, 02:57:13 PM
#1
I'm running bitcoind (0.8.2) with txindex=1
I noticed that retrieving the first transaction always fails:
$ ./bitcoind getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
error: {"code":-5,"message":"No information available about transaction"}


the other transactions works just fine:
$ ./bitcoind getrawtransaction 0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098
01000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0704ffff001d0104ffffffff0100f2052a0100000043410496b538e853519c726a2c91e61ec1 1600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf6 21e73a82cbf2342c858eeac00000000


Do you have any idea why?

Thanks!
Jump to: