Skip to content

加载时检查区块链 ​

原始发布页

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

SVN 修订版 139 会在加载后对区块链进行基本检查。

有了这个,我们本来就不需要删除 blk*.dat;它会自动重组回分叉点。当时没有时间对此做出审慎的实现。

它可能会比我们希望的耗时更久,因为必须加载所有区块。如果太慢,可以让它只回溯到某个区块编号。

英文原文 ​

展开英文原文

SVN rev 139 does a basic check of the block chain after loading.

With this we wouldn't have needed to delete blk*.dat, it would have automatically done a reorg back to the fork. There wasn't time to do a careful implementation of this at the time.

It might take longer than we want, since it has to load all the blocks. If it's too slow, we could have it only go back to a certain block number.

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