Author

Topic: Satoshidice questions (Read 1030 times)

legendary
Activity: 2506
Merit: 1010
January 06, 2013, 12:43:34 PM
#5
What would s.dice do if I double spend that coins ?

That's their magic sauce.  Well, it is not just them who are employing this technique now but they were the one that first introduced this particular method.

Each payout includes funds from the wager transaction.  So if the wager transaction never confirms, then neither will the payout.  This provides the ability for SatoshiDICE to send a payout on 0/unconfirmed and not have to worry about sending a payout with the risk that later the wager will end up being a double-spend.

There is one weakness with this in that if SatoshiDICE is revealing win/loss immediately, there is then a small chance to cheat then bydouble spending only the losing wagers.   This was evidenced in this thread:

Double Spend against a satoshidice loss
 - https://bitcointalksearch.org/topic/success-double-spend-against-a-satoshidice-loss-130764

But SatoshiDICE made a change and now the chances of that tactic may no longer be a profitable method to cheat the service.   The change made was to treat wagers with no fee paid different, where it is not processed until the transaction gets one confirmation.

And how are s.dice sure that my sending transaction will get confirmations before their ?

Since they are linked, the payout will only confirm in the same block when the wager transaction confirms or in a subsequent block.
legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
January 06, 2013, 11:42:27 AM
#4
Thanks for clarification.

Alright I just tried sending 1BTC to s.dice and received coins back immediately, even before my sending transaction has a confirmation ( neither the send or receive transaction has got a confirmation as of now). What would s.dice do if I double spend that coins ?

And how are s.dice sure that my sending transaction will get confirmations before their ?
legendary
Activity: 2506
Merit: 1010
January 05, 2013, 02:12:41 PM
#3
1. After the coins are sent, why it took so long ?

Normally when a wager transaction includes a fee and is not "spam-like", the payout -- win or lose, will occur nearly instantaneously.

Even "spam-like" transactions (e.g., no fee paid, or low amount, like below 0.01 BTC) that have a confirmation will likely get a payout once there is a confirmation.

Win or lose, you still get a payout transaction.

Your first transaction hasn't been processed nor paid out.  Numerous times in the past SatoshiDICE will have a problem and it will take a day or two to flush out these unprocessed transactions.  Your first transaction falls under that category.

SatoshiDICE has a minimum bet amount of 0.01 BTC on every wager now.  Both of your wagers were made for an amount below that.

Every SatoshiDICE transaction, since it started in April 2012 eventually gets a payout -- and that can be (and is) verified by a third party (doogius voluntarily does this and in the past has prodded SatoshiDICE if they overlook some and don't swing back and resolve every last one of them).

So, be patient I guess.  Your wager was an amount less than two pennies worth, so hopefully it being returned late won't cause you a financial hardship.

Your second wager was processed and returned (as it too was below the minimum).    The reason you might not have seen that right away is because SatoshiDICE sent the return without a fee (as it does when it returns these).  And because it was such a low amount, nodes probably didn't want to relay it because it was spam-like (low amount, no fee paid). So several hours later eventually some nodes relayed it and eventually a miner picked it up and included it in a block.

If you click on the "Advanced" page, you can enter the transaction numbers to see the details for each wager.   Your first one does not yet return anything because it has not been processed.  The second one shows the "BELOW MINIMUM".

So, to prevent this from happening in the future, keep in mind that every wager to SatoshiDICE now has a 0.01 BTC minimum, and always include a fee (which you did, but I'm just mentioning it so that it doesn't get overlooked.)

And eventually your first 0.001 BTC wager will be returned.   If it doesn't in another day or so, then maybe an inquiry to SatoshiDICE will be needed but generally these get taken care of without prodding.
full member
Activity: 126
Merit: 100
January 05, 2013, 03:21:39 AM
#2
You were probably on wait because
some guy placed a bet like 100 times before you did

not sure though
legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
January 05, 2013, 03:19:37 AM
#1
I tried the site few days ago. It did not work as expected.

I sent two bets on

lessthan 60000 - transaction id(1c1a5a4e12acf5198acbd1c7fc8fcdf18f6bfd3e68e1c57adcd089b43efe5d34) 0.001 BTC + (trx fee 0.0005 BTC)

lessthan 64000 - transaction id(d9468acbbc6112fdeb5b6f083e8698806ca3eb290e23ee0554517f1de0980cca) 0.00012 BTC + (trx fee 0.0005 BTC)

it took about 10 hours until I received 0.00012 BTC back - transaction id(2d56ed9390257d0960bed52bf9c582b97ea8e18b3cef3fdf825cc4086106cd25)

questions

1. After the coins are sent, why it took so long ? Is it because satoshidice has to wait for some N confirmations (It took 1 hour for my client to see 6 confirmations after sent), but 10 hours ?

2. I expected to see 2 transactions sent back. It's hard to believe that one of them turned out lose because of the odds.

Jump to: