SN-2732 已核对来源,附原文与上下文。
我猜我知道发生了什么。双击那笔挖矿交易。它里面很可能带了一笔低于 0.01 的手续费。
I think I know what happened. Doubleclick on the generated transaction. It probably has a sub-0.01 transaction fee in it.
有人一直在付 0.00000010 的手续费。我觉得用 -paytxfee 你连这个都设不出来,得改代码才行。你生成的区块价值 50.00000010,因此当你试图把整笔发出去时,只剩 0.00000010 当找零,这就触发了灰尘垃圾的 0.01 手续费。
Someone has been paying a 0.00000010 transaction fee. I don't think you can even set that with -paytxfee, I think you'd have to modify the code to do it. Your generated block is worth 50.00000010, so when you try to send the whole thing you have 0.00000010 left over for the change, which triggers the dust spam 0.01 fee.
除了这个边角案例它通常无害。我应该给 CreateTransaction 加个特例来处理这种情况。
It would normally be harmless except in this corner case. I should add a special case to CreateTransaction to handle this.