回复:错误——请帮帮我!
原始发布页
打开来源页面查看 1 个交叉存档
引用 theymos 于 2010 年 10 月 21 日 下午 10:00:26 的发言
他的区块数一直“卡”在 1698。
他当时在难度 1.0 下生成无效区块。他的 blk0001.dat 或 blkindex.dat 文件中一定有损坏的条目。他只需删除 blk*.dat,然后让它重新下载即可。
安全锁定机制检测到了这个问题,并显示“警告:显示的交易可能不正确!”,因为它发现存在一条自己无法接受的更长链。安全锁定机制不能停止新币生成,否则会产生遭受攻击的可能性。
引用 gavinandresen 于 2010 年 10 月 22 日 下午 02:25:14 的发言
在获得截至最后一个区块检查点的所有区块之前,比特币客户端确实不应该允许生成新币。
好主意,我做了修改,确保在检查点区块 74000 之前不会开始生成新币。
英文原文
展开英文原文
Quote from: theymos on October 21, 2010, 10:00:26 PM
his block count remains "stuck" at 1698.
He was generating invalid blocks at difficulty 1.0. He must have a corrupted entry in his blk0001.dat or blkindex.dat file. He just needs to delete blk*.dat and let it redownload.
The safety lockdown detected the problem and was displaying "WARNING: Displayed transactions may not be correct!" because it saw a longer chain existed that it was unable to accept. The safety lockdown cannot stop generation or it would create an attack possibility.
Quote from: gavinandresen on October 22, 2010, 02:25:14 PM
The Bitcoin client really shouldn't allow coin generation until you have all of the blocks up to the last block checkpoint.
Good idea, I made a change to make sure it won't generate before checkpoint block 74000.