查看“创世block”的源代码
←
创世block
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于这些用户组的用户使用:trusted、truster、ninja
您必须确认您的电子邮件地址才能编辑页面。请通过
系统设置
设置并确认您的电子邮件地址。
您可以查看与复制此页面的源代码。
{{stub}} 创世block是一个[[block链]]的第一个block。新版本的Bitcon将它定义为0号block,旧版本则定义为1。 <!-- A '''genesis block''' is the first block of a [[block chain]]. Modern versions of Bitcoin assign it block number 0, though older versions gave it number 1. --> == 主网络的创世block == [http://blockexplorer.com/block/000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f 这一在Bitcoin Block Explorer的信息] 下面是某一Bitcoin版本注释([http://bitcoin.svn.sourceforge.net/viewvc/bitcoin/trunk/main.cpp?revision=133&view=markup&pathrev=170 第1613行])中对创世block的描述第一段定义了重新生成创世block的所有变量,第二段以标准blockprint格式描述了创世block。 <!-- Here is a representation of the genesis block as it appeared in a comment in an old version of Bitcoin ([http://bitcoin.svn.sourceforge.net/viewvc/bitcoin/trunk/main.cpp?revision=133&view=markup&pathrev=170 line 1613]). The first section defines exactly all of the variables necessary to recreate the block. The second section is the block in standard printblock format, which contains shortened versions of the data in the first section.--> GetHash() = 0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f hashMerkleRoot = 0x4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b txNew.vin[0].scriptSig = 486604799 4 0x736B6E616220726F662074756F6C69616220646E6F63657320666F206B6E697262206E6F20726F6C6C65636E61684320393030322F6E614A2F33302073656D695420656854 txNew.vout[0].nValue = 5000000000 txNew.vout[0].scriptPubKey = 0x5F1DF16B2B704C8A578D0BBAF74D385CDE12C11EE50455F3C438EF4C3FBCF649B6DE611FEAE06279A60939E028A8D65C10B73071A6F16719274855FEB0FD8A6704 OP_CHECKSIG block.nVersion = 1 block.nTime = 1231006505 block.nBits = 0x1d00ffff block.nNonce = 2083236893 CBlock(hash=000000000019d6, ver=1, hashPrevBlock=00000000000000, hashMerkleRoot=4a5e1e, nTime=1231006505, nBits=1d00ffff, nNonce=2083236893, vtx=1) CTransaction(hash=4a5e1e, ver=1, vin.size=1, vout.size=1, nLockTime=0) CTxIn(COutPoint(000000, -1), coinbase 04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73) CTxOut(nValue=50.00000000, scriptPubKey=0x5F1DF16B2B704C8A578D0B) vMerkleTree: 4a5e1e coinbase参数(见上面的十六进制数据)在普通数据之外还包含了下面的文字:<ref>[http://uk.reuters.com/article/idUKPTIP32510920090103 路透社对金融时报文章评论]</ref> <!-- The coinbase parameter (seen above in hex) contains, along with the normal data, the following text<ref>[http://uk.reuters.com/article/idUKPTIP32510920090103 Reuters' reference on The Financial Times article]</ref>: --> The Times 03/Jan/2009 Chancellor on brink of second bailout for banks 这表明这一block可能生成于2009年1月3日,也是对部分准备金制度不稳定性的评论。 <!-- This was probably intended as proof that the block was created on or after January 3rd, 2009, as well as a comment on the instability caused by fractional-reserve banking. --> 最初的50比特币奖励给了[http://blockexplorer.com/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa]。 <!-- The first 50BTC block reward went to [[address]] [http://blockexplorer.com/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa] and has yet to be spent (2011-03-04). --> ==注解== <references/> [[en:Genesis block]]
该页面使用的模板:
模板:Stub
(
查看源代码
)
返回至
创世block
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
帮助
工具
链入页面
相关更改
特殊页面
页面信息