Experimental
Currently Lottery Bot is still experimental. If any problem pops up, please know it's unintentional and we love to hear about it so we can fix it.
Lottery aims to be provably fair, and constructive criticism on the implementation is welcome
A problem did pop up in the Tuesday's Draw (September 27)! Nobody noticed. I invite everybody to check the provably fairness once in a while, that's why it's there.
This is what happened:The draw was really fast. At 23:06 I checked the blocks. It used blocks 431822 (17 minutes earlier) and 431821 (25 minutes earlier). These blocks were known before the Draw and should not have been used!
As a result, Lottery sent
15 mBTC to SimpleRed7.
Mod madcoin said this:
Sorry about the bot, looks like i update the wrong version, but i already re upload with the old one, it will be fine for next draw
To prevent this in the future I suggested we stop using a fixed time for Lottery, and start using pre-selected block numbers for the draw. It's still under consideration.
It took a while to come to a final conclusion. I wanted my findings to be checked by madcoin, but he's been quite busy lately.
This is what should have happened:The two blocks after 23:00h Dutch time on blockchain.info were blocks
431825 (hash: 00000000000000000101194467980498d73c1b8a5be4993842d1fd1774dffb3b) and
431824 (hash: 0000000000000000021aa4c3c2d6a60851a508f60198addfcddf0d0fde90be73).
Validating this with the Server Seed (7hW76478e5R15C25252385C4O72E1JFR) and Total tickets (100) gives:
Winning number: 99
Winner: Cannabis
FLT ("FreeLotteryTickets") tipped 15 m
BTC to Cannabis out of the budget for Free Lottery Tickets. SimpleRed7 can of course keep his prize.
Congratulations Cannabis for winning 15 mBTC