What in detail makes the Coinbase in the Genesis Block unspendable?

2

I was aware that the Genesis block's reward was unspendable, and that there was no UTXO for it in the UTXO Set. I thought that this was due to the Genesis block being hardcoded and the actual synchronization beginning with block #1. I have heard people in the past referring to the unspendability of the reward as a quirk or bug. Midmagic mentions that it's a hardcoded exception that made the Genesis Block coinbase unspendable.

Can someone elaborate in detail what makes Genesis block coinbase unspendable?

Murch

Posted 2019-04-20T18:47:17.223

Reputation: 51 063

Question was closed 2019-04-21T02:20:09.303

2I think the existing questions are a bit outdated, so here goes: Both. Originally it was indeed due to either an oversight or intentionally that when the database was initialized, it would not include the genesis block. As that code was rewritten, it was replaced with an explicit exception to maintain compatibility. – Pieter Wuille – 2019-04-20T19:12:50.840

@PieterWuille I've reopened the question so you can answer it instead of commenting. :) – Murch – 2019-04-20T19:23:44.110

Or maybe rather, you could post an up-to-date answer on the duplicate target? – Murch – 2019-04-20T19:25:00.073

In this post, @JBaczuk explains how it can be made spendable. Perhaps this contains some relevant pointers?

– KappaDev – 2019-04-20T22:59:06.470

Yeah, I had closed it as a duplicate of https://bitcoin.stackexchange.com/q/10009/5406 previously, but then Pieter wrote a great comment here. I guess closing as a duplicate is still correct, but I'd love for Pieter's comment to become an answer on the duplicate target.

– Murch – 2019-04-21T02:19:55.800

No answers