Hacker News new | ask | show | jobs
by ewillbefull 4856 days ago
Nobody can cheat SatoshiDICE by double-spending and spending their response transaction, because the transactions are chained as you say. But this isn't the kind of attack they're worried about.

If you broadcast a transaction and SatoshiDICE responds with a YouLoseTx, and you have built a block containing a double-spending transaction, if you "lose" you can broadcast your conflicting block. You wouldn't need much hashpower to do this and still remain positive. It's called a Finney Attack. https://en.bitcoin.it/wiki/Double-spending#Finney_attack

This is why they only immediately respond to smaller bets.