Post
Topic
Board Gambling
Re: Newbie Lottery - 0.005BTC / Ticket
by
Costia
on 01/02/2012, 16:00:52 UTC
you should use something like:
(hash of last block in the chain) mod (number of participants in the lottery)
otherwise you can enter yourself and say your entry is the winner