回复:0.3 即将就绪
原始发布页
打开来源页面查看 1 个交叉存档
你在我来得及发回复之前就弄明白了。(笑脸)
看起来,laszlo 构建的 Berkeley DB 所生成的 database/log.* 文件与我们的不兼容。.dat 文件没有问题,它们的格式应该永远不会改变。所有数据都存储在 .dat 文件中。你自己的所有数据都存储在 wallet.dat 中。如果你当时等它重新下载完区块链,那么随着区块链到达记录那些交易的位置,你缺失的交易和生成记录就会出现。
你复制目录但排除 log.0000000002 的做法是最佳解决方案。现在应该没问题了。
database/log.* 文件只包含临时数据库数据。如果你上次是正常退出比特币,而不是强制终止或因崩溃退出,那么通常可以安全删除 database/log.* 文件。它们的唯一用途是:如果数据库正在进行一项交易时计算机崩溃,或者程序被终止或崩溃,它便能恢复而不丢失数据。
如果可能,请继续运行 v0.3,不要退回 v0.2.10。
其他任何遇到这个问题的人,请把 database\log.000000000* 文件移到别处。(如果这样之后运行正常,稍后就可以删除它们)
我不太愿意让安装程序删除或移动这些文件。如果上一次运行是因崩溃或被终止而停止,这样做就是错误的。
英文原文
展开英文原文
You figured it out faster than I could post a reply. (Smiley)
It looks like laszlo's build of Berkeley DB has database/log.* files that are not compatible with ours. The .dat files are fine, their format shouldn't ever change. All data is stored in the .dat files. All your own data is stored in wallet.dat. If you had waited for it to redownload the block chain, your missing transactions and generateds would have appeared as the block chain reached the point where those transactions were recorded.
When you copied the directory except log.0000000002, that's the best solution. You should be good now.
The database/log.* files only contain temporary database data. If you exited bitcoin normally the last time, not exited by forced terminating it or crashing, then the database/log.* files can normally be deleted safely. They're only used so that if the database is in the middle of a transaction when the computer crashes or the program is killed or crashes, then it could recover without losing data.
Please keep running v0.3 if at all possible, don't go back to v0.2.10.
Anyone else who hits this problem, move the database\log.000000000* files somewhere else. (if it works fine after that, you can delete them later)
I'm reluctant to make the installer delete or move those files. If the previous run was stopped by crashing or killed, that would be the wrong thing to do.