Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
726087
Topic
62184
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