Author

Topic: Can "true" randomness be obtained with each verified block? (Read 1616 times)

hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
Oh and there is TAABL run by someone else.
http://taabl.datlatec.com/
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
A lottery based on the block hashes would be interesting; perhas since there are a huge number of possible results the prizes would be distributed according to how close to the result each number was (dividing the prize if more than one person bet on the same number) with a big prize for whoever gets the closest, and with the value of the prize getting logarithimly smaller (or some other curve) for each additional position till there is no more money to payout, and pehaps a biggger prize that acumulates when no one wins it, for who ever bets on the exact value.

Starting June 1 BitLotto will use block hashes to make a new hash for the numbers in the draw. It's designed such that one person wins the whole pot for the month. So odds are pretty much 1/total jackpot.
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
A lottery based on the block hashes would be interesting; perhas since there are a huge number of possible results the prizes would be distributed according to how close to the result each number was (dividing the prize if more than one person bet on the same number) with a big prize for whoever gets the closest, and with the value of the prize getting logarithimly smaller (or some other curve) for each additional position till there is no more money to payout, and pehaps a biggger prize that acumulates when no one wins it, for who ever bets on the exact value.
member
Activity: 82
Merit: 10
Randomness is not usefull if it's public?


Are those publicly avaiable sources cabaple of producing random bits faster than the Bitcoin network?

Well... once its fixed, its no longer random. It is a definite number, and the same every time. It is only "random" to someone who is trying to guess what it is. Future hashes in the block are random, once they are published in the chain, they are fixed.

So I could see gambling or gaming scenarios where some random element depended on the next or some future block hash (or even the transaction hashes concatenated). Though, you would be limited in how fast you can use it, as some like to point out, block chains can rarely temporarily fork, leading to a potential change a few down the line, a possibility which goes down for any given block, with every block added.

Essentially, this is no different than illegal lottery games. My grandmother was telling me that when she was MUCH younger, she was a bookie (and still wont name names, even though they are all long since dead) and that is basically the game worked by people placing bets with her, then, the numbers were derived from numbers published in the newspaper.... so everyone could check and see if they won easily.

Thinking about Hal's comment, I don't think that is a real problem. He chooses nonces to make hashes. So yes, he can throw out any hash that he finds which is even or odd, but, it only matters if they are under the target. So a miner who was trying to cheat his bet would have to find a good block, giving him its tx fees and income, and then throw it all away, and keep searching.

That is for an even/odd bet though. Sure maybe with the right betting structure like that you can afford to mine and throw out half of the possible blocks, but... what if you implemented keno? I think putting together a betting scheme that would not be worth cheating in these circumstances could be done easily.

legendary
Activity: 1500
Merit: 1021
I advocate the Zeitgeist Movement & Venus Project.
GRC offers a high quality pseudo-random character service.

https://www.grc.com/passwords.htm
Hal
vip
Activity: 314
Merit: 3803
One thing you might want to do is use the hash to determine the result of a gambling game. You could bet with someone on whether the next hash will be even or odd. The problem is if your opponent is a miner, he could influence a certain percentage of the block hashes, gaining an advantage.
hero member
Activity: 566
Merit: 500
Unselfish actions pay back better
Are those publicly avaiable sources cabaple of producing random bits faster than the Bitcoin network?

Take a look at e.g.:

  • HotBits — genuine random numbers, generated by radioactive decay
  • random.org — true random number service
  • QRBG — quantum random bit generator service
  • Entropy key — USB powered RNG

Cheers,
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
Randomness is not usefull if it's public?


Are those publicly avaiable sources cabaple of producing random bits faster than the Bitcoin network?
legendary
Activity: 1330
Merit: 1000
There are publicly available sources of random data produced by quantum hardware generators.

One problem with using a public source of random data is that anyone with sufficient resources to attack your code would probably have already thought of this idea and would be able to check against it pretty trivially.  Using the Bitcoin network for key distribution is a recipe for disaster.
hero member
Activity: 616
Merit: 500
Firstbits.com/1fg4i :)
Since a valid hash can't be predicted (if it could, instead of wasting time mining people would just fill in the predicted value and solve block after block relativelly instantly), would it be possible to use those hashes or some related data avaiable thrue the Bitcoin network as source for "true" randomness?
Jump to: