9
I realize that if somebody makes a transaction without any fees and there have not yet been any confirmations, then the transaction could be double spent by just spending the same inputs to a different address, but with a standard fee.
My question is, if somebody sends a transaction with a standard fee, and there have yet to be any confirmations, could that transaction be just as easily overridden by rewriting the transaction, but with a higher fee? If so, what would be the implications for a party that accepts zero confirmation transactions such as BitPay?
2Great answer, except for one thing: It doesn't need a lot of 'rogue miners' for this to become a problem. Even if it is just 5% of miners who do it, this could make accepting zero-confirmation transactions impossible.
Here is how it would work: I spend 100 mBTC on a dinner in a regular transaction that the restaurant accept with no confirmations. I send another transaction returning 90 mBTC of the inputs to myself and paying 10 mBTC as a miner's fee. There is no risk for me! Worst case I paid for what I spent anyway. But with x% chance, I only have to pay 10% of the dinner! – Brian Fabian Crain – 2014-07-07T07:21:25.593
Sure, the phrasing "enough rogue miners" was in no way meant as a majority, but more like "enough for the chance being noticeable". 5% is a big number already. Anyway, it only highlights the risk in accepting zero-confirmation transactions if you cannot reclaim the service IRL. In your example with the restaurant, this could be considered as leaving-without-paying, which is already a risk anyway - and there are some ways to deal with this (including police). So, just be sure you consider the whole social aspect when evaluating your risk. – Jozef – 2014-07-08T17:05:21.927
From what I read, we've reached the point where zero-confirmation is no longer viable. If you are still in the loop on the topic, you could perhaps update your excellent answer. :) – Murch – 2015-07-15T08:59:17.367
Are you sure? I'm not aware about any significant situation change in the recent years; it is still possible to accept payments immediately when the transaction is spotted, especially with some reclaimable online services and it can be OK as long as it is taken into consideration and measures are implemented to further ensure the transaction gets confirmed properly. – Jozef – 2016-11-28T13:34:04.647