Author

Topic: Why does Satoshi Dice use a secret? (Read 1978 times)

hero member
Activity: 756
Merit: 522
January 17, 2013, 12:09:41 PM
#9
It would seem that . . .
MPOE-PR, It would seem that you are a little late to the party.  This has already been explained (twice), and the OP has acknowledged that he understands.

Thirty minutes, sucks to be me I guess.
legendary
Activity: 3472
Merit: 4801
January 17, 2013, 11:27:55 AM
#8
It would seem that . . .
MPOE-PR, It would seem that you are a little late to the party.  This has already been explained (twice), and the OP has acknowledged that he understands.
hero member
Activity: 756
Merit: 522
January 17, 2013, 10:11:52 AM
#7
Yes, I read that but I have no clue how one could "submit selective transactions".
I mean, either I send a transaction or not. Once it is sent, then it's gone and I can't manipulate it in any way – or am I stupidly missing something here?

It would seem that if a salt is not added you can simply hash the block yourself and see what it comes to, then bet accordingly.
hero member
Activity: 700
Merit: 500
January 17, 2013, 09:40:48 AM
#6
Got it, thanks for the explanation!
legendary
Activity: 3472
Merit: 4801
January 17, 2013, 09:37:37 AM
#5
. . . either I send a transaction or not. Once it is sent, then it's gone and I can't manipulate it in any way – or am I . . . missing something here?
If they knew the "secret" ahead of time, a halfway decent programmer could write a program to create a transaction and check the value of hmac_sha512(secret,txid:out_idx).  Then if the transaction was a winner, submit it. If it was a loser, toss the transaction out and try creating a new transaction.

Essentially they would be "mining" for winning satoshi transactions, and just like miners only submit "winning" blocks to the blockchain, this cheating programmer could submit only winning transactions to SatoshiDice.
vip
Activity: 198
Merit: 101
January 17, 2013, 09:35:47 AM
#4
If you had access to the secret beforehand, you would be able to generate transactions (without immediately broadcasting them) that win the bet by, say, treating a second txout as a "nonce" of sorts. The integrity of Satoshi Dice is achieved through the principle: the secret should be unknown to the betters, and immutable by the house.
hero member
Activity: 700
Merit: 500
January 17, 2013, 09:29:15 AM
#3
Yes, I read that but I have no clue how one could "submit selective transactions".
I mean, either I send a transaction or not. Once it is sent, then it's gone and I can't manipulate it in any way – or am I stupidly missing something here?

I believe on the same page where you found your quote, if you scroll to the top and start reading, you'll find the following answer to your question:

Quote
They are not released right away, since they could be used to submit selective transactions and win bets unfairly.
legendary
Activity: 3472
Merit: 4801
January 17, 2013, 09:24:23 AM
#2
I believe on the same page where you found your quote, if you scroll to the top and start reading, you'll find the following answer to your question:

Quote
They are not released right away, since they could be used to submit selective transactions and win bets unfairly.
hero member
Activity: 700
Merit: 500
January 17, 2013, 09:13:33 AM
#1
I have a question about Satoshi Dice, the popular Bitcoin casino.

I don't understand why they have to use secrets when determining the lucky number for a bet.
Here's how the lucky number is made:
Quote
The lucky number [...] is simply the first bytes of hmac_sha512(secret,txid:out_idx)

Why the need for a secret here? If the "secret" wasn't a secret but a public number – what would be the problem about this?

Thanks for your enlightening comments!

(I hope this is not off topic – if so, please move to the right subforum)
Jump to: