Provable fairness

From Bitcoin Wiki
Revision as of 15:06, 11 March 2017 by Oldmate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Provable fairness refers to the technology used by bitcoin casino and gambling sites to verify the outcomes of their games. This allows players to confirm that the outcomes were true and fair without any adjustments or manipulations by the gambling sites between when the bet was placed and when the outcome was revealed.

Process

The basis of the system is the cryptographic hash function and it's difficulty to crack. Before the bet begins the gambling server generates a seed and send this as a hashed function to the player. Client side the player then generates a random seed and this is added to the hash function.[1] After the bet is complete the player decrypts the hash function to determine that it is the same transaction that began. If the function matches then the bet has been uninterrupted. Any difference in the hash indicates that something has gone wrong with the outcome, most likely as a result of manipulation.[2]

References