原始文献 / 论坛帖 / Re: ERROR - PLEASE HELP ME!

Re: ERROR - PLEASE HELP ME!

Bitcointalk · 2010-10-23 18:22:49 UTC

AuthorSatoshi Nakamoto
TitleRe: ERROR - PLEASE HELP ME!
Date2010-10-23 18:22:49 UTC
ForumBitcointalk · 原文

引用自 theymos(2010 年 10 月 21 日 10:00:26 PM)(https://bitcointalk.org/index.php?topic=1530.msg17955#msg17955):他的区块数一直卡在 1698。
他在难度 1.0 下生成了无效区块。他的 blk0001.dat 或 blkindex.dat 里肯定有一条损坏的记录。他只需要删掉 blk*.dat,让它重新下载就行。

安全锁定检测到了问题,显示了“WARNING: Displayed transactions may not be correct!(警告:显示的交易可能不正确!)”,因为它看到了一条更长的链但无法接受。安全锁定不能阻止挖矿,否则会制造出一种攻击可能。

引用自 gavinandresen(2010 年 10 月 22 日 02:25:14 PM)(https://bitcointalk.org/index.php?topic=1530.msg18074#msg18074):比特币客户端真不应该在你还没同步到最后一个区块检查点之前就允许挖矿。
好主意,我改了一下,确保它在检查点区块 74000 之前不会挖矿。

英文原文

Quote from: theymos on October 21, 2010, 10:00:26 PM(https://bitcointalk.org/index.php?topic=1530.msg17955#msg17955)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(https://bitcointalk.org/index.php?topic=1530.msg18074#msg18074)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.