RE: SteemRollers | Provably Fair SteemDice | (Now Live)

You are viewing a single comment's thread from:

SteemRollers | Provably Fair SteemDice | (Now Live)

in steemrollers •  8 years ago 

My point is - the players control their txids, and thereby the dice roll.
It is a fatal flaw to rely on the randomness of txids.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

How do they control their txid? Isn't it assign by the blockchain?

The tx is is basically a hash of the tx data, including the signature.
Players can create a transaction, look at the id, and then choose to publish the transaction or not.

I guess I will add a secret key then and I will have to publish it each day.

That's no longer provably fair. You could choose the secret key afterwards.

  ·  8 years ago (edited)

If I chose the key afterwards it wouldn't match up with every transaction. They can match the roll number to the sha256(txid+key). I will get the hex value of the hash returned. If I choose a key afterwards it would change the hash and the rolls wouldn't match up.