什么是创世区块(Genesis block)

请添加图片描述

更新日期:2022年1月21日 


​​​​​​​​​​​​​​​​​​​​​

创世区块

创世区块是比特币区块链中的第一个区块,区块高度为0。创世区块的哈希值是000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

创世区块是所有其它区块的共同祖先。它被硬编码于比特币节点客户端软件中,无法被删除

创世区块的时间戳是2009年1月3日,UTC时间18:15:05。

Coinbase信息

创世区块中的Coinbase交易参数中除了常规的交易数据之外还包含了以下文本:

“The Times 03/Jan/2009 Chancellor on brink of second bailout for banks”(泰晤士报 2009年1月3日 财政大臣正处于对银行实施第二轮紧急援助的边缘)

上述引用摘自《金融时报》(The Financial Times)的此篇文章

这篇文章谈及了国家在危机时期对银行业的干预,以及在紧急援助时期,中央发行的货币开始贬值,这反而成为了对不良行为者的激励。Craig Wright博士这篇以“Adam Selene”为笔名的文章中讨论了这个话题。

时间戳

虽然比特币平均每十分钟产生一个新区块,但第二个区块的时间戳比创世区块晚了整整6天。Craig Wright博士解释道,之所以会出现这种延迟,是因为微软发布了一个Windows补丁,导致他所有的电脑都关机了,他花了几天时间才重启好电脑并接着运行。

原始区块数据

原始的十六进制版本的创世区块如下:

00000000   01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

00000010   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

00000020   00 00 00 00 3B A3 ED FD  7A 7B 12 B2 7A C7 2C 3E   ....;£íýz{.²zÇ,>

00000030   67 76 8F 61 7F C8 1B C3  88 8A 51 32 3A 9F B8 AA   gv.a.È.ÈŠQ2:Ÿ¸ª

00000040   4B 1E 5E 4A 29 AB 5F 49  FF FF 00 1D 1D AC 2B 7C   K.^J)«_Iÿÿ...¬+|

00000050   01 01 00 00 00 01 00 00  00 00 00 00 00 00 00 00   ................

00000060   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

00000070   00 00 00 00 00 00 FF FF  FF FF 4D 04 FF FF 00 1D   ......ÿÿÿÿM.ÿÿ..

00000080   01 04 45 54 68 65 20 54  69 6D 65 73 20 30 33 2F   ..EThe Times 03/

00000090   4A 61 6E 2F 32 30 30 39  20 43 68 61 6E 63 65 6C   Jan/2009 Chancel

000000A0   6C 6F 72 20 6F 6E 20 62  72 69 6E 6B 20 6F 66 20   lor on brink of

000000B0   73 65 63 6F 6E 64 20 62  61 69 6C 6F 75 74 20 66   second bailout f

000000C0   6F 72 20 62 61 6E 6B 73  FF FF FF FF 01 00 F2 05   or banksÿÿÿÿ..ò.

000000D0   2A 01 00 00 00 43 41 04  67 8A FD B0 FE 55 48 27   *....CA.gŠý°þUH'

000000E0   19 67 F1 A6 71 30 B7 10  5C D6 A8 28 E0 39 09 A6   .gñ¦q0·.\Ö¨(à9.¦

000000F0   79 62 E0 EA 1F 61 DE B6  49 F6 BC 3F 4C EF 38 C4   ybàê.aÞ¶Iö¼?Lï8Ä

00000100   F3 55 04 E5 1E C1 12 DE  5C 38 4D F7 BA 0B 8D 57   óU.å.Á.Þ\8M÷º..W

00000110   8A 4C 70 2B 6B F1 1D 5F  AC 00 00 00 00            ŠLp+kñ._¬....

分解后的形式为:

01000000 - version

0000000000000000000000000000000000000000000000000000000000000000 - prev block

3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A - merkle root

29AB5F49 - timestamp

FFFF001D - bits

1DAC2B7C - nonce

01 - number of transactions

01000000 - version

01 - input

0000000000000000000000000000000000000000000000000000000000000000FFFFFFFF - prev output

4D - script length

04FFFF001D0104455468652054696D65732030332F4A616E2F32303039204368616E63656C6C6F72206F6E206272696E6B206F66207365636F6E64206261696C6F757420666F722062616E6B73 - scriptsig

FFFFFFFF - sequence

01 - outputs

00F2052A01000000 - 50 BTC

43 - pk_script length

4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC - pk_script

00000000 - lock time

内容来源

本篇文章基于Creative Commons Attribution 3.0中的Genesis block - Bitcoin Wiki。虽然它可能已被大量修订和更新,但我们仍要向原作者致以感谢。​​​​​​​


Genesis block

The Genesis block is the first block in the Bitcoin Block chain and can be found at block height zero. The hash of the Genesis block is 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f

The Genesis block is the common ancestor of all other blocks. It is hard wired into the Bitcoin node client software and cannot be deleted

The Genesis block has a timestamp of January 3rd 2009, 18:15:05h UTC.

Coinbase

The coinbase parameter contains, along with the normal data, the following text:

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

The quote is from the following article from The Financial Times (archive.org cached copy)

The article concerns the intervention of The State in banking during times of crisis and the devaluation of centrally issued currencies in times of bailout as an incentive for bad actors. Dr Craig Wright discusses this topic in this article written under the pseudonym 'Adam Selene'.

Timestamp

Although the average time between Bitcoin blocks is 10 minutes, the timestamp of the next block is a full 6 days after the Genesis block. Dr Craig Wright has indicated that the delay occurred because a scheduled patch for Windows was released by Microsoft which caused all of his computers to shut down at once, and it required several days before he was able to get it back up and running.

Raw block data

The raw hex version of the Genesis block looks like:

00000000   01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

00000010   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

00000020   00 00 00 00 3B A3 ED FD  7A 7B 12 B2 7A C7 2C 3E   ....;£íýz{.²zÇ,>

00000030   67 76 8F 61 7F C8 1B C3  88 8A 51 32 3A 9F B8 AA   gv.a.È.ÈŠQ2:Ÿ¸ª

00000040   4B 1E 5E 4A 29 AB 5F 49  FF FF 00 1D 1D AC 2B 7C   K.^J)«_Iÿÿ...¬+|

00000050   01 01 00 00 00 01 00 00  00 00 00 00 00 00 00 00   ................

00000060   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................

00000070   00 00 00 00 00 00 FF FF  FF FF 4D 04 FF FF 00 1D   ......ÿÿÿÿM.ÿÿ..

00000080   01 04 45 54 68 65 20 54  69 6D 65 73 20 30 33 2F   ..EThe Times 03/

00000090   4A 61 6E 2F 32 30 30 39  20 43 68 61 6E 63 65 6C   Jan/2009 Chancel

000000A0   6C 6F 72 20 6F 6E 20 62  72 69 6E 6B 20 6F 66 20   lor on brink of

000000B0   73 65 63 6F 6E 64 20 62  61 69 6C 6F 75 74 20 66   second bailout f

000000C0   6F 72 20 62 61 6E 6B 73  FF FF FF FF 01 00 F2 05   or banksÿÿÿÿ..ò.

000000D0   2A 01 00 00 00 43 41 04  67 8A FD B0 FE 55 48 27   *....CA.gŠý°þUH'

000000E0   19 67 F1 A6 71 30 B7 10  5C D6 A8 28 E0 39 09 A6   .gñ¦q0·.\Ö¨(à9.¦

000000F0   79 62 E0 EA 1F 61 DE B6  49 F6 BC 3F 4C EF 38 C4   ybàê.aÞ¶Iö¼?Lï8Ä

00000100   F3 55 04 E5 1E C1 12 DE  5C 38 4D F7 BA 0B 8D 57   óU.å.Á.Þ\8M÷º..W

00000110   8A 4C 70 2B 6B F1 1D 5F  AC 00 00 00 00            ŠLp+kñ._¬....

Broken down it looks like this:

01000000 - version

0000000000000000000000000000000000000000000000000000000000000000 - prev block

3BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A - merkle root

29AB5F49 - timestamp

FFFF001D - bits

1DAC2B7C - nonce

01 - number of transactions

01000000 - version

01 - input

0000000000000000000000000000000000000000000000000000000000000000FFFFFFFF - prev output

4D - script length

04FFFF001D0104455468652054696D65732030332F4A616E2F32303039204368616E63656C6C6F72206F6E206272696E6B206F66207365636F6E64206261696C6F757420666F722062616E6B73 - scriptsig

FFFFFFFF - sequence

01 - outputs

00F2052A01000000 - 50 BTC

43 - pk_script length

4104678AFDB0FE5548271967F1A67130B7105CD6A828E03909A67962E0EA1F61DEB649F6BC3F4CEF38C4F35504E51EC112DE5C384DF7BA0B8D578A4C702B6BF11D5FAC - pk_script

00000000 - lock time

Attribution

This content is based on content sourced from Genesis block - Bitcoin Wiki under Creative Commons Attribution 3.0. Although it may have been extensively revised and updated, we acknowledge the original authors.

声明:

BSV知识库项目由BSV区块链发起并支持,更多信息请参见知识库官网:BSV Wiki


目前,全球已有超过400个项目构建于BSV区块链之上。凭借坚如磐石的协议及超高的网络性能,BSV生态系统迅猛发展,我们期待未来出现更多前所未有的商业应用。


  • 对BSV区块链开发感兴趣的朋友可以通过CSDN站内私信联系我们,申请加入BSV开发者交流群。
  • 同时,您也可以扫描下方二维码,关注BSV区块链官方微信公众号,了解更多区块链领域的实时资讯。

    Alt

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值