原始文献 / 论坛帖 / Re: overflow bug SERIOUS
Re: overflow bug SERIOUS
Bitcointalk · 2010-08-16 22:54:55 UTC
未升级的节点大多数时间都在正确的链上,但它们仍试图在每个块里打包那笔溢出交易,所以一直在试图分叉、生成无效块。如果一个旧版本节点重启,它的内存池会被清空,所以在那笔交易再次被广播之前,它可能生成一段时间的有效块。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.
