Post
Topic
Board Securities
Re: S.DICE - SatoshiDICE 100% Dividend-Paying Asset on MPEx
by
dooglus
on 05/11/2012, 06:54:39 UTC
Is it possible to write a bot that will monitor for losing bets and then try to cancel it by double spending the money to a wallet controlled by himself?

If he controls a large pool he could direct it to give preference to his cancellation transaction to make sure it propagates faster.

Is this possible in practice? How does SDICE defend against it?

I think a more practical attack would be to always get your pool to attempt to mine a block which includes a transaction that spends your coins to yourself, then as soon as you find a block, hold off publishing it for a few seconds while you place a bet at SD double-spending those same coins on "lessthan 1000".  On the rare occasion that your bet wins, you "forget" to publish the block your pool found (maybe claim some other pool beat you to it), and let the winning SD bet stand.  The rest of the time you publish your block, which effectively cancels your losing SD bet.

I don't know if this happens in practice, or whether SD has anything in place to prevent it working.