Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: windpath on July 28, 2015, 04:56:06 PM



Title: Getting Genesis Block transaction on my node
Post by: windpath on July 28, 2015, 04:56:06 PM

I have my node (Satoshi 0.11.0) set with txindex=1

Given a random set I can pull up any transaction by TXID using getrawtransaction, however when I try to pull up the transaction in the Genesis block I get:

Code:
bitcoin-cli getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

Code:
No information available about transaction (code -5)

I'm wondering if there is a way to get the transaction on my node?


Title: Re: Getting Genesis Block transaction on my node
Post by: achow101 on July 28, 2015, 05:03:52 PM
You can't. The transaction actually doesn't exist in the database. I think it is actually hard coded. Since the transaction doesn't really exist, it can't be viewed by anyone through conventional means and it can't be spent at all.


Title: Re: Getting Genesis Block transaction on my node
Post by: windpath on July 28, 2015, 05:28:16 PM

Thanks, that is a bummer...

Anyone have a reference to where it is hard coded?



Title: Re: Getting Genesis Block transaction on my node
Post by: Newar on July 28, 2015, 06:28:04 PM

Some info in the references: https://en.bitcoin.it/wiki/Genesis_block