Post
Topic
Board Micro Earnings
Re: FreeBitco.in - Win free Bitcoins every hour!
by
wetsuit
on 21/12/2016, 09:48:26 UTC
I have asked many times for suggestions on how I could  make the lottery more fair but have yet to receive any concrete suggestions on how it could be done. I am always open to suggestions and if someone can recommend a provably fair way to draw lottery tickets, I would be happy to implement it.

Have you ever received any suggestions? I don't want to read through hundred pages so here's my silly idea:

- let every user to enter an unique and non-changeable seed linked to their account
- at the beginning of round publicly announce 10 numbers between 1 and "expected number of tickets" ( rather much more )
- make hash for every ticket: userseed + lotteryround  + nonce (nonce to be the users ticket number)
- at the end of round put all hashes in alphabetical order (assign each a serial number) and publish the list
- the numbers given on beginning denotes the winners ( if some user would win twice then the seed next in order counts, if expected number of tickets exceeds the real count then turn over and start counting from beginning )

I'm not programmer ... just trying to apply common sense but I'm almost sure there will be some catch I didn't realize. Feel free to educate me.

Thank you for the suggestion, it is something along the lines of what I was planning to do. I was looking for a way to do this without having to store 70-80 million ticket hashes every round due to the load it would put on our servers, but it doesn't seem like there is another way.

The method is pretty good, bit it still doesn't solve the problem of me cheating by creating fake accounts and tickets for them so that the hashes of these tickets fall into the positions of the winning numbers. I doubt there is any way to make the lottery 100% provably fair due to this but this is still a much better implementation that what we currently have.

I'll add this to my to-do list and should be implemented in a month I hope.

Please pm me your freebitco.in user id for a bonus Smiley