Skip to content

回复:严重的溢出错误 ​

原始发布页

打开来源页面
查看 1 个交叉存档

尚未升级的节点大多数时候都在正确的链上,但它们仍试图把溢出交易放进每一个区块,因此一直在尝试分叉并生成无效区块。如果旧版本节点重启,其交易池会被清空,因此在那笔交易再次被广播之前,它可能会生成一段时间的有效区块。0.3.9 及更低版本的节点仍然必须升级。

SVN 现在已经包含了我们所需的代码,可以自动重组区块链,而不必手动删除 blk*.dat 文件。我知道自己昨天无法足够迅速而又谨慎地写好那段代码,所以采用了快速的手动方案。

英文原文 ​

展开英文原文

Un-upgraded nodes have the correct chain most of the time, but they are still trying to include the overflow transaction in every block, so they're continually trying to fork and generate invalid blocks. If an old version node is restarted, its transaction pool is emptied, so it may generate valid blocks for a while until the transaction gets broadcast again. 0.3.9 and lower nodes still must upgrade.

The SVN now has the code we needed to automatically reorg the block chain without having to delete the blk*.dat files manually. I knew I couldn't write that code fast and carefully enough yesterday, so I went with the quick manual option.

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。