Well, yes, you can forward Bitcoins without risk this way. But it doesn't solve the real problem, which is selling something for Bitcoins that you can't get back if the Bitcoin transaction is rejected.
One online gambling site that accepted zero-confirmation transactions was burned by double spends. The bettor would quickly respend any funds they lost, invalidating the payment. If they won, they let the Bitcoin transaction go through and accepted the winning payment.
This new "zero confirmation" scheme wouldn't protect against that. It would just prevent placing a bet, winning, accepting the won amount, then canceling the original payment.
It's not a new scheme, it's exactly how that "one online gambling site" does it. I wondered how they did it, so I figured it out, replicated it and wrote a blurb about it.
It's a pretty neat trick to extend the "all or nothing" property to multiple transactions. For some very limited use-cases (like my admittedly contrived example), this is exactly what you want. Usually it's not. Usually you just have to wait.
Honestly, bitcoin is not really suited for instant gratification things.
3 comments
[ 2.9 ms ] story [ 20.2 ms ] threadOne online gambling site that accepted zero-confirmation transactions was burned by double spends. The bettor would quickly respend any funds they lost, invalidating the payment. If they won, they let the Bitcoin transaction go through and accepted the winning payment.
This new "zero confirmation" scheme wouldn't protect against that. It would just prevent placing a bet, winning, accepting the won amount, then canceling the original payment.
Back to the drawing board, zero-conf people.
Note lines 90-95, the comment explains when coins will be forwarded and how to change that behavior
It's a pretty neat trick to extend the "all or nothing" property to multiple transactions. For some very limited use-cases (like my admittedly contrived example), this is exactly what you want. Usually it's not. Usually you just have to wait.
Honestly, bitcoin is not really suited for instant gratification things.