SourceForge 遗留(转贴) · Repost: Bitcoin Maturation

中本聪,2009 年 11 月 22 日

SN-0017 已核对来源,附原文与上下文。

中文译文

在尝试生成硬币(区块)期间,以及成功生成的那一刻,保持网络连接极为重要。

1) 生成期间(状态栏显示 "Generating"、你正用 CPU 寻找工作证明之时),务必持续与网络保持联系以接收最新区块。倘若你的区块没有链接到最新区块,它兴许就不被接受。

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

可以把它想象成众人协作连成一条链。你要加上一环,必先找到链的当前末端。倘若你在找到最后一环之后离开一小时,方才锻造出自己的链环,回来再把它接到一小时前的末端之上,别人兴许已经加了若干环,他们不会愿意使用你这个如今从中间岔出去的链环。

区块创建之后,有 120 个区块的成熟期,以便在可以花费之前,百分之百确认该区块属于主链。在此期间,你的节点对这个区块什么也不做,不过是等待别的区块添加到你的区块之后。这段时间你并不必在线。

ORIGINAL · 英文原文
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.
上下文
← 上一条 SN-0017 · 当前 下一条 → 在档案中查看完整主题串 →
来源