Bitcoin Forum
May 04, 2024, 08:09:33 AM *
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 605 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?
1714810173
Hero Member
*
Offline Offline

Posts: 1714810173

View Profile Personal Message (Offline)

Ignore
1714810173
Reply with quote  #2

1714810173
Report to moderator
1714810173
Hero Member
*
Offline Offline

Posts: 1714810173

View Profile Personal Message (Offline)

Ignore
1714810173
Reply with quote  #2

1714810173
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6578


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: 1000


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!