原始文献 / 论坛帖 / Re: Repost: Bitcoin Maturation

Re: Repost: Bitcoin Maturation

Bitcointalk · 2009-11-22 18:34:21 UTC

AuthorSatoshi Nakamoto
TitleRe: Repost: Bitcoin Maturation
Date2009-11-22 18:34:21 UTC
ForumBitcointalk · 原文

在你试图生成一枚币(一个区块)的过程中,以及成功生成的那一刻,网络连接很重要。

1) 生成过程中(状态栏显示"正在生成"、你用 CPU 寻找工作量证明时),你必须持续与网络保持联系,以接收最新的区块。如果你的区块没有链接到最新的区块,它可能不会被接受。

2) 当你成功生成一个区块,它会立即广播到网络。其他节点必须收到它并链接到它,它才能被接受为新的最新区块。

把它想象成一次合作造链的努力。当你加上一环,你必须先找到链当前的那一端。如果你找到最后一环,然后离开一小时去锻造你的一环,回来把它接到一小时前的那一端上,别人可能已经加了好几环,他们可不想用你这条从中间岔出去的环。

区块生成之后,120 个区块的成熟时间是为了绝对确保该区块属于主链,之后才能被花费。那段时间你的节点并没有对这个区块做什么,只是在等你的区块后面再加上其他区块。那段时间你不必在线。

英文原文

It's important to have network connectivity while you're trying to generate a coin (block) and at the moment it is successfully generated.

1) During generation (when the status bar says "Generating" and you're using CPU to find a proof-of-work), you must constantly keep in contact with the network to receive the latest block. If your block does not link to the latest block, it may not be accepted.

2) When you successfully generate a block, it is immediately broadcast to the network.  Other nodes must receive it and link to it for it to be accepted as the new latest block.

Think of it as a cooperative effort to make a chain.  When you add a link, you must first find the current end of the chain.  If you were to locate the last link, then go off for an hour and forge your link, come back and link it to the link that was the end an hour ago, others may have added several links since then and they're not going to want to use your link that now branches off the middle.

After a block is created, the maturation time of 120 blocks is to make absolutely sure the block is part of the main chain before it can be spent.  Your node isn't doing anything with the block during that time, just waiting for other blocks to be added after yours.  You don't have to be online during that time.