原始文献 / 论坛帖 / Re: Bitcoin crash when sending coins
Re: Bitcoin crash when sending coins
Bitcointalk · 2010-01-27 21:52:27 UTC
到处复制钱包文件就会这样。如果你把钱包文件复制到第二台电脑,两台电脑都会觉得钱包里的钱是自己的。一台花了其中一部分,另一台不知道那些币已经花掉了,会想再花一次,你就撞上这个报错了。
既然已经明确这是个关键报错信息,它应该写得更像这样:"the money appears to be already spent... this could happen if you used a copy of your wallet file on another computer."
你可以移动或备份钱包文件,但它必须只有一条"血统",同一时间只能在一个地方用。你一旦从里面转出钱,就不能再用之前的任何副本。
这提了个好问题。万一你恢复的备份是在你花掉一些币之前的,我们需要加个功能来重新同步,查出哪些币其实已经被花掉了。这不难做,只是还没实现。我加到待办里。有了它,大部分情况是能修复的,而不是报这个错。
英文原文
That is what happens if you copy wallet files around. If you copy your wallet file to a second computer, then they both think the money in the wallet is theirs. If one spends any of it, the other doesn't know those coins are already spent and would try to spend them again, and that's the error you would hit.
Now that it's clear this is a key error message, it ought to be something more like "the money appears to be already spent... this could happen if you used a copy of your wallet file on another computer."
You can move or backup your wallet file, but it needs to have only one "lineage" and only used in one place at a time. Any time you transfer money out of it, then you must no longer use any previous copies.
This brings up a good point. In the case of restoring a backup that may be from before you spent some coins, we need to add functionality to resync it to discover which coins have already been spent. This would not be hard to do, it just hasn't been implemented yet. I'll add it to the list. This would make it mostly repair the situation instead of giving that error message.
