Bitcoin Forum
June 25, 2024, 10:26:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Getting Genesis Block transaction on my node  (Read 608 times)
windpath (OP)
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
July 28, 2015, 04:56:06 PM
 #1


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

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
July 28, 2015, 05:03:52 PM
 #2

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.

windpath (OP)
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
July 28, 2015, 05:28:16 PM
 #3


Thanks, that is a bummer...

Anyone have a reference to where it is hard coded?

Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1001


https://gliph.me/hUF


View Profile
July 28, 2015, 06:28:04 PM
 #4


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

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
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!