This is the first block, how can I see the message?

'The Times 03/Jan/2009 Chancellor on brink of second bailout for banks'

up vote 2 down vote accepted

Click on the sole transaction in that block (4a5e1e4b...) and click Show scripts & coinbase.

  • how did he do that? I thought OP_RETURN was only added later and that before the only way to do it was to encode data as a fake address in a transaction – s.matthew.english Sep 20 '16 at 11:55
  • 1
    @s.matthew.english: See bitcoin.stackexchange.com/questions/20721/…. Because this is a generation transaction, it has a single input whose script is ignored. The message takes the place of that script. – Nate Eldredge Sep 20 '16 at 12:16
  • How can I get it through bitcoin-cli, I've tried bitcoin-cli getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b true, and return an error telling me that this is the genesis block and transaction whin it can't be retrieved. – buzhidao Mar 27 at 19:13
  • @buzhidao: Yeah, I suspect that you just can't. This is a special case for backward compatibility: the original release of Bitcoin had a bug where the coinbase transaction of the genesis block was not added to the utxo database, thus making it unspendable. Every version since had to keep that behavior; otherwise, if Satoshi ever tried to spend those coins, it would cause a hard fork of the blockchain, as some clients would accept the transaction and others would reject it. – Nate Eldredge Mar 27 at 23:01

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.