Bitcoin Forum
December 12, 2017, 08:39:45 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind query on genesis block fails  (Read 591 times)
chekhov
Newbie
*
Offline Offline

Activity: 3


View Profile
March 01, 2014, 03:17:35 AM
 #1

I'm wondering why there is a problem quering the genesis block one and only transaction.

bitcoind getblockhash 0
000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

bitcoind getblock 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
{
    "hash" : "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
    "confirmations" : 288387,
    "size" : 285,
    "height" : 0,
    "version" : 1,
    "merkleroot" : "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
    "tx" : [
        "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"
    ],
    "time" : 1231006505,
    "nonce" : 2083236893,
    "bits" : "1d00ffff",
    "difficulty" : 1.00000000,
    "nextblockhash" : "00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048"
}

bitcoind getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b 1
error: {"code":-5,"message":"No information available about transaction"}

bitcoind version is 0.8.6

Thanks!
1513111185
Hero Member
*
Offline Offline

Posts: 1513111185

View Profile Personal Message (Offline)

Ignore
1513111185
Reply with quote  #2

1513111185
Report to moderator
1513111185
Hero Member
*
Offline Offline

Posts: 1513111185

View Profile Personal Message (Offline)

Ignore
1513111185
Reply with quote  #2

1513111185
Report to moderator
1513111185
Hero Member
*
Offline Offline

Posts: 1513111185

View Profile Personal Message (Offline)

Ignore
1513111185
Reply with quote  #2

1513111185
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513111185
Hero Member
*
Offline Offline

Posts: 1513111185

View Profile Personal Message (Offline)

Ignore
1513111185
Reply with quote  #2

1513111185
Report to moderator
1513111185
Hero Member
*
Offline Offline

Posts: 1513111185

View Profile Personal Message (Offline)

Ignore
1513111185
Reply with quote  #2

1513111185
Report to moderator
DannyHamilton
Legendary
*
Online Online

Activity: 2002



View Profile
March 01, 2014, 01:25:54 PM
 #2

The coinbase transaction in the genesis block is not indexed by Bitcoin-Qt.

As such, the bitcoins received in that transaction cannot be spent.

chekhov
Newbie
*
Offline Offline

Activity: 3


View Profile
March 01, 2014, 11:52:08 PM
 #3

There should be an interesting history/read about that? Satoshi himself designed it like this?
DannyHamilton
Legendary
*
Online Online

Activity: 2002



View Profile
March 02, 2014, 12:46:13 AM
 #4

There should be an interesting history/read about that?

It appears to be an oversight.  I don't know that Satoshi ever explained any reasoning behind the particular behind it

Satoshi himself designed it like this?

Designed it like this?  Not sure, if it was intended in the design.  He did, however, code it like this.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!