Bitcoin Forum
May 11, 2024, 05:28:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Making a progressive jackpot provably fair  (Read 1095 times)
abrkn (OP)
Full Member
***
Offline Offline

Activity: 232
Merit: 150



View Profile WWW
December 13, 2012, 07:54:44 AM
Last edit: December 13, 2012, 07:06:22 PM by abrkn
 #1

I'm running a few games (video poker and slots) and have gotten into the trouble of not being able to prove fairness.

- How can I prove that the outcome of each game is known before the fact?
- How can I prove that I am not letting myself or a friend win the jackpot every time?

keybase.io/abrkn/key.asc
1715448507
Hero Member
*
Offline Offline

Posts: 1715448507

View Profile Personal Message (Offline)

Ignore
1715448507
Reply with quote  #2

1715448507
Report to moderator
1715448507
Hero Member
*
Offline Offline

Posts: 1715448507

View Profile Personal Message (Offline)

Ignore
1715448507
Reply with quote  #2

1715448507
Report to moderator
1715448507
Hero Member
*
Offline Offline

Posts: 1715448507

View Profile Personal Message (Offline)

Ignore
1715448507
Reply with quote  #2

1715448507
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715448507
Hero Member
*
Offline Offline

Posts: 1715448507

View Profile Personal Message (Offline)

Ignore
1715448507
Reply with quote  #2

1715448507
Report to moderator
1715448507
Hero Member
*
Offline Offline

Posts: 1715448507

View Profile Personal Message (Offline)

Ignore
1715448507
Reply with quote  #2

1715448507
Report to moderator
1715448507
Hero Member
*
Offline Offline

Posts: 1715448507

View Profile Personal Message (Offline)

Ignore
1715448507
Reply with quote  #2

1715448507
Report to moderator
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 13, 2012, 08:45:56 AM
 #2

- How can I prove that the outcome of each game is known before the fact?
- How can I prove that I am not letting myself or a friend win the jackpot every time?

Your reading assignments:

Provably Fair Shuffling Through Cryptography
 - https://techblog.bitzino.com/2012-06-30-provably-fair-shuffling-through-cryptography.html

BitZino And The Dawn Of 'Provably Fair' Casino Gaming
 - http://www.forbes.com/sites/jonmatonis/2012/08/31/bitzino-and-the-dawn-of-provably-fair-casino-gaming/

Using SHA512 hash as random number generator for Gambling services
 - https://bitcointalk.org/index.php?topic=77206.0

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
December 13, 2012, 10:46:57 PM
 #3

Every system is going to be susceptible to brute forcing, the answer is just to use more bits to make it hard enough that it ins't worth it or can't be done before the sun dies.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 14, 2012, 12:15:18 AM
 #4

Problem: I can still brute force a combination of client hash and server secret that will allow myself to win the progressive jackpot (royal flush)

Oh, ya, the progressive jackpot means you are not just playing against the house but against other players.  

BitLotto handles that by using an external event (results of the state-run lottery) which isn't known until after the betting window closes.

What isn't known at the time of the wager is the hash of the next couple blocks.  That would prevent that immediate positive reinforcement that keeps people playing though since you wouldn't know if you won for ten or twenty minutes after betting.

If your service uses the blockchain, maybe you could include a hash of the timestamp that blockchain.info.com shows for the transaction (e.g., epoch/unix time) to give something that is not known at the time of the bet, is not really controllable (not to the second) and becomes expensive if brute forced (due to part of the losses getting added to the progressive jackpot that potentially go to a winner other than the house).   Of course, this assumes that there is no collusion between the house and blockchain.info.


Here's something along the same lines, using the Twitter public timeline:
 - http://pyevolve.sourceforge.net/wordpress/?p=631

Where you use the timestamp to determine a tweet from the public timeline that occurs after the wager is placed, and the hash of that tweet is used.   Gah, that's crazy and still not provably fair.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 15, 2012, 09:24:15 PM
 #5

the casino can choose not to pay you.

Yes, an online casino could do that but that is a one time occurrence and fatal for the casino (see John Corzine  / MF Global).  A casino that doesn't have crypto / provably fair has the ability to tip the odds just enough such that it is never noticed by the players.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!