Bitcointalk · Checking the block chain on load

中本聪,2010 年 8 月 16 日

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

阅读语言
中文译文

SVN rev 139 会在加载后对区块链做一次基本检查。

有了它,我们本不需要删 blk*.dat,它会自动重组回分叉点。当时没时间把这个功能做扎实。

它可能比我们想要的慢,因为要把所有区块都加载一遍。倘若太慢,可以让它只回溯到某个区块号为止。

ORIGINAL · 英文原文
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.
上下文
← 上一条 SN-2487 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2487