r/millionairemakers • u/minlite Mod • Dec 10 '14
Explanation of our new drawing system inspired by suggestions from the community
Over the course of the past few weeks, we received many great suggestions from the community about a new drawing system that could not be faked. We studied all the proposed ideas thoroughly and even debated with their authors at some point to let them defend their idea. We wanted to come up with a system that could be very simple, but also very secure at the same time. While all of the proposed systems were by some extent fake-proof and could be verified, one stood out more because of offering a very interesting feature: being publicly verifiable.
The system was proposed by /u/potatobadger and it relies on using a bitcoin block's hash as the seed for generating a winner. This is ultimately unpredictable since a block's hash is unknown until when its mined. You can read the initial proposal here, but I'm going to explain it briefly below:
The System
- The drawing thread is started by a moderator at a pre-announced date and time. It will last for 24 hours to give every person from any country a fair chance to participate.
- After 24 hours, the thread is locked by our bot (who goes by the name /u/millionairemakers) and it will begin to generate a list of participants sorted by the old method. This means that the first commenter will be number 1. Because of the 60 request per minute limit enforced by reddit API this will take around 15-20 minutes to complete for around 8000 participants, which is about the number of participants we had in the last drawing. After the list is generated, the bot will upload the list to dropbox and make a post with the link and the SHA-256 sum of the uploaded file. The bot will also check if anyone has posted more than once and will automatically add them to another publicly announced list that we can later use to ban users who have tried cheating multiple times.
- Once the participants thread is posted, the bot will watch the Bitcoin blockchain for mined blocks. Our lucky block will be the
6th3rd block mined after the participants list announcement (~1 hourhalf an hour after). We will then use the lucky block's hash to computer 1 + ( hash % number_of_participants) which will be a number between 1 and the number of participants. (Note that the numbering starts from 1 and not from 0 for the sake of simplicity) The winner will be the person who has a number equal to the generated number. - The bot will immediately post another thread announcing the winner publicly.
System Features
- Users who want to follow the drawing process will be able to view a live log of the script using a pre-announced web address
- The script will be open sourced for public audit
- The script will be immune from human errors and will produce a very accurate and fair result each time
How is it publicly verifiable?
Because the list is announced before the lucky block has been mined, there is no way for the moderators to predict or fake the results. You can download the list and use the lucky block's hash to reproduce the drawing on your machine. This can be done by writing your own Python script or using the one provided by us for convenience.
Concerns
- Mods can fake the results
See the section above - Mods can change the participants list after the block is mined
The participants post will not be edited at any time. Also, by referring to the SHA-256 sum posted in the thread one can verify that the list was not altered in Dropbox and it is in fact the same list that was posted before the block was mined. - Additional questions from the thread will be answered here
When will be the next drawing?
The system is ready and it is currently being tested internally for potential bugs. We are planning for a drawing sometime soon (around next week), but we will be announcing the date and time beforehand to allow for preparation.
If you have any questions or concerns regarding this method, please feel free to comment below and I'll happily address them.
A special thanks to /u/potatobadger for proposing this system.
8
u/claymatthewsband Dec 10 '14
Could you have a system where you start a thread, people comment, you choose a winner from the comments, just like it is done now. Then you don't release the winner's username, everyone donates 1 dollar, and after the money is in you release the winner's name.
Is that still considered a lottery in the eye of the law? Cuz that's the only way I can see everyone donating...
4
u/BFG_9000 Dec 10 '14
Could you explain a bit more about this formula?
Maybe with some specific examples...
4
u/PotatoBadger Mod Dec 23 '14 edited Dec 23 '14
Wow, thanks for implementing my proposal!
Your description of the process seems correct and appropriately detailed. It looks like you opted not to delay release of the official list. You could release the hash first and not the Dropbox link until after giving the winner time to prepare if you want, but I think you're already aware of this.
Edit:
As pointed out here, you should wait for some number of block confirmations before accepting a block as "The Lucky Block" - I would recommend 6.
Another edit: You should clarify better what the process is for accounts that don't meet the age / throwaway requirements. What exactly do you do in the event that a throwaway is selected?
3
u/Radek_Of_Boktor Dec 10 '14
Great job mods! The next step now needs to be publicity. Anyone have any ideas for how we can get the maximum exposure for the entry post? So far all I can think of is cross-posting to the crypto-currency and freebie/money-related subreddits.
Now that the kinks are ironed out I'm sure more people will upvote, but we need to find a way to get to the top of /r/all as well.
3
u/apoefjmqdsfls Dec 11 '14
How will you resolve the issue that people can make multiple accounts to participate in the drawing?
3
u/echocage Dec 11 '14 edited Dec 11 '14
That's actually incorrect because you can get comments in batches of 100, and it's 60 requests every 2 minutes, so 1 request every 2 seconds.
So ~900 comments, ~16 seconds
3
u/IBelieveinBitcoin Dec 23 '14
Did I miss the details of where this method caters for multiple posts from the one user?
2
u/Tim-Sanchez Community Mod Dec 10 '14
The first and last comments can't win right? This should be accounted for, maybe Automod or another bot should make the first and last comment.
2
u/zluckdog Dec 11 '14
I have a concern about legality of this lottery system. What methods are being implemented to prevent The State from cracking down on this sort of thing?
Thia is an honest question as anyone who understands bitcoin knows that one of the principles is "decentralization" which mitigates unwanted intervention.
Will there be work done to move into a decentralized method for selecting participants?
2
u/[deleted] Dec 11 '14
What will happen if the chosen winner is ineligible for whatever reason. Wait for the next block?
2
u/Klatelbat Dec 21 '14
This is an ingenious idea. How does the bot calculate hash % number_of_participants when the hash is alphanumeric? Is it just simply the corresponding digit % 10? So "S" would be 18 % 10 which would give 8? I'm just curious, this stuff interests me but I have very little experience in this field. I'm sure it's more complicated than that, just curious.
2
u/the_androgynous_name Dec 22 '14
Sorry if this is a dumb Q, but where/how do we donate the $1 to participate in this?
2
u/FeedingPandas Dec 23 '14
So j just have to comment?
2
u/curehead Mar 24 '15
Do we need a sob story to be entered or is every subscriber eligible to win? I can't imagine randomers sending money to someone for no reason. I sent last time because i felt the winner was worthy. I dont think i would have if it just said user /xy won.
68
u/LOHare Dec 10 '14
It's really great to see the mods taking feedback and improving the system. Hopefully this time we can get more participation in terms of donations.
29
u/nukeforyou Dec 22 '14
I know some of these words
14
u/ThresholdLurker Dec 10 '14
Just to clarify, the comment count will only include initial/parent comments and not random conversation comments... correct? Also, if someone posts a comment, deletes it, and then posts another comment will this throw things off somehow?
I'm not as technically savvy as many here, so the information itself might answer these questions. Some clarity on that would be great, though. This is the sort of attention to detail that I was hoping for... thanks guys!
9
u/[deleted] Dec 10 '14
Pretty good. A novel use of the blockchain, to boot!
32
u/kixunil Dec 11 '14
I don't know what this subreddit is about but I'd like to warn you that something % number_of_participants is not fair random generator (it is fair in some specific situations). That means some results have greater odds of choosing then others.
To demonstrate this let's talk about small numbers. Let's say that you roll a dice and want to choose from four people. That means map numbers 1-6 (or 0-5) to 1-4 (or 0-3)
Using modulo function above we get this mapping:
We can see that 0 and 1 have greater odds.
So when this is fair? Simply, when (max(something)+1) % number_of_participants == 0 (try it with dice and three participants; (5+1) % 3 == 0)
How to solve the problem? Do something % increased_nop instead. increased_nop is closest number which is fair. In case of dice and four participants, it would be 6. In case of SHA256 it's closest power of 2. I think it can be calculated like this: increased_nop = 2upper_bound(log2(number_of_participants)).
Now there is important question: What if result (something % increased_nop) is greater than number_of_participants? Answer: discard it, generate new random something and try again. You will eventually find right result.
Of course, you don't need to wait for another block. Just do sha256(something) and you are fine.
This is still publicly verifiable.
Edit: formatting
2
u/[deleted] Dec 10 '14
The system looks very good, but it still has the problem that people can just not donate if their name isn't drawn, right?
2
u/drew489 Jun 05 '15
I personally think the money should be donated first...then a winner is selected randomly. I know some people may not donate when they see the winner posting updates and/or explaining the problems in their life. Just a thought and probably the wrong place to put it in but new here.
4
u/MSweeny81 Dec 10 '14
Great to see progress being made. I've got high hopes for this sub.
1
u/rynmln Dec 22 '14
Can you go ahead and post the source code for the bot? Also, when will the url be announced to view the log?
1
u/mchaley Dec 22 '14
Do you need a bitcoin wallet to participate?
1
u/_Drakkar Dec 22 '14
I'm in. I'm unemployed & got nothing else to lose other than a warm bed with my parents!
3
u/IllogicallyLogical Dec 10 '14
That's a really good idea!
3
u/[deleted] Dec 10 '14
Interesting use of the blockchain. I like it
3
u/totes_meta_bot Dec 10 '14 edited Jan 19 '15
This thread has been linked to from elsewhere on reddit.
If you follow any of the above links, respect the rules of reddit and don't vote or comment. Questions? Abuse? Message me ^here.
3
u/rOoObO Dec 23 '14
I`ll build a movie threater and show the interview in spite of sony!!
3
u/iamone11 Dec 23 '14
This is a really cool idea!!
3
u/Robamaton Jan 19 '15
Here's hoping we find a winner who will make a difference!
2
u/CptShock Dec 10 '14
This is awesome. Great idea.
2
u/HelpMeLoseMyFat Dec 10 '14
hmmmmm
2
u/lxOMEGAxl Dec 11 '14
for someone to participate, all we need to do is comment, and thats that?
2
u/avatarr Dec 11 '14
I still feel like 24 hours is too short. 3 days or something like that would allow for significant word of mouth.
2
u/hastala Dec 11 '14
But how do we ensure that people donate?
2
u/Locke_Zeal Dec 22 '14
I'll donate a few bucks. This is a very cool idea. Cheers :)
2
u/bubblesort Dec 23 '14 edited Dec 23 '14
I'd like a million dollars, please. KTHXBAI!
EDIT: Sorry, wrong thread.
2
u/skepticaldreamer Dec 23 '14
Let the dice roll...
2
u/mrvengance Dec 23 '14
This will fail.
2
u/TheGreatJatsby Dec 23 '14
If I win....I will cry a little bit.
2
u/bakela Dec 23 '14
So I win?
2
u/daJonDogg Dec 23 '14
This is fantastic.
2
u/[deleted] Jan 12 '15
so, who post first never get the chance
2
u/[deleted] Jan 19 '15
I'd like to get lots of money
2
u/guyguy23 Jan 19 '15
This is a great idea! Good luck everyone!
2
u/BoozeFreeBlender Jan 19 '15
This is such a great idea!! I hope we can keep it going!!
2
u/[deleted] Jan 19 '15
Internet lottery. Why not, I'll give it a shot. I accept bitcoin thank you very much.
2
u/[deleted] Jan 19 '15
I don't see why I wouldn't want to be a millionaire or give someone a dollar, both seem fun
2
u/danboston Jan 19 '15
I would gladly take this money and do nice things for people.
RemindMe! 2 days "Donation for /r/millionairemakers"
2
u/Wint3riscoming Jan 19 '15
If I win this money I will selfishly and foolishly blow all of it at once. So please pick me RNGeesus.
2
u/1865d Jan 19 '15
Well this would be one way to get my parents out of debt ;)
2
u/podsking Jan 19 '15
hi wukong
2
u/kerriander Jan 19 '15
Seems like a chill idea.
2
u/building_a_wall Jan 20 '15
A million dollars would probably be nice, I mean I would take it if it was just given to me
2
u/Rukuah Jan 20 '15
infinitesimal chance of winning, but I love this idea. Congrats to whoever wins!
2
u/no1dead Jan 20 '15
This is an amazing process and I love it.
1
u/a_random_guy_001 Dec 12 '14
Sounds like some good changes! I'll keep an eye out on the new thread. ;) Thanks for the hard work folks!
1
u/[deleted] Dec 13 '14
Can't wait.
1
u/[deleted] Dec 13 '14
informative stuff, thanks.
1
u/Kwazyness Dec 17 '14
which dates will the draw take place :O
1
u/BornTexan Dec 22 '14
Throwing my hat in the ring!
1
u/Infinitezen Dec 22 '14
Maybe I can be of some good to humanity? It's a nice thought.
1
u/thraway128 Dec 22 '14
Any idea how taxes would work for the winner?
1
u/[deleted] Dec 22 '14
Let's give it a go.
1
u/strangeseven Dec 22 '14
Welp, I'm here.
1
u/Barbsss Dec 22 '14
I hope to win so that I can pay for college, but I'd also like to say thanks (even if I don't win) to the organizers of this event. Good luck to all.
1
u/drakeblood4 Dec 22 '14
Good luck.
1
u/Offensive_Statement Dec 22 '14
I hope everyone loses.
1
u/thatcatladyblogger Dec 22 '14
This is so cool!!
1
u/[deleted] Dec 22 '14
Minimum Possible Entry Comment
1
u/Bladeleaf Dec 22 '14
boop
1
u/[deleted] Dec 22 '14
There is no reason not to enter this.
1
u/Tyloor Dec 22 '14
ayy lmao
1
u/Vovachka Dec 22 '14
screw it, let's do it.
1
u/[deleted] Dec 22 '14
a large miner could watch the list and try to craft and block so he can win.
1
u/AggressiveGulp Dec 22 '14
I love this! Reddit strikes again!
1
u/devilwarier9 Dec 22 '14
This is so insane it just might work!
1
u/SnotBlade Dec 22 '14
Happy Holidays. :)
1
u/TheLegendarySheep Dec 22 '14
Wow. This is pretty cool, I hope someone's Christmas is gonna be better now.
1
u/[deleted] Dec 22 '14
This.. This idea is genius!
1
u/gnik000 Dec 22 '14
okie dokie
1
u/morissettemaiden Dec 22 '14
Exciting!
1
u/exploadtoad Dec 22 '14
pick me bot
1
u/illiniry Dec 22 '14
Mele Kalikimaka is a wise way to say Merry Christmas to you.
1
u/nyc_ifyouare Dec 22 '14
.
1
u/Good_guy_Hult Dec 22 '14
Well this is interesting
1
u/Fuego247 Dec 22 '14
This is nuts. Let's do it!
1
u/warm_fuzzy_feeling Dec 22 '14
Winnings shared, by gum! To all, generosity! Luck be with me now...
1
u/MrAccounting Dec 22 '14
I wouldn't mind a Million Dollars right now.
1
u/Spicer001 Dec 22 '14
Great Idea!
1
u/May7th2014 Dec 22 '14
22
77
1
u/Psyckk Dec 22 '14
ayy boys
1
u/Typhron Dec 22 '14
Eh, sure why not. <3
Let's see what we can do.
1
u/bbbbob Dec 22 '14
you can't make me ... ok fine i'll take the million
1
u/[deleted] Dec 22 '14
I'm. so. ready.
1
u/[deleted] Dec 22 '14
Lucky 14!
1
u/hafterx Dec 22 '14
I can't imagine a better christmas gift ! Good luck to everybody!
1
u/procrastinates_alot Dec 22 '14
I like money
1
u/darthmall01 Dec 22 '14
May the odds ever be in your favor!
1
u/[deleted] Dec 23 '14
here's my fellers.
1
u/VicareyG Dec 23 '14
This is such a fantastic idea. I if I don't get chosen I'll be sending 5000 Dogecoins ~$1 to the winner.
1
u/ElPichichi Dec 23 '14
This is a comment.
1
u/ohhelpme Dec 23 '14
Million dollar dreams!
1
u/[deleted] Dec 23 '14
Would be nice to win this.
1
u/punkfunkymonkey Dec 23 '14
Innit
1
u/thebabaayi Dec 23 '14
Odds can't be worse than the lottery!
1
u/thequiettime Dec 23 '14
I have to return some videotapes.
1
u/[deleted] Dec 23 '14
Olly olly oxen free!
1
u/EyeLikeBeer Dec 23 '14
I'm in!
1
u/IEGPKU Dec 23 '14
That's awesome. I would like to be a millionaire for Christmas!
1
u/[deleted] Dec 23 '14
:O Good luck everyone!
1
u/socket2810 Dec 23 '14
Let's make someone rich!
1
u/SkyBuff Dec 23 '14
Lets make someone rich!
1
u/org2n Dec 23 '14
Obviously, I'm in. Hopefully it will be easy to give the money.
1
u/Trickster0306 Dec 23 '14
This would be really cool
1
u/sharkierules Dec 23 '14
Good luck all!
1
u/CunningLinquistics Jan 20 '15
Hookers and blackjack, here I come!!
1
u/SirtyDanchez Jan 20 '15
Gonna get the win
1
u/[deleted] Jan 20 '15
I need a new pair of shoes.
1
u/d4d5c4e5 Jan 20 '15 edited Jan 20 '15
You don't really need to go through all this trouble with the Bitcoin blockchain and everything to produce verifiable randomness. The hash of your entrant list itself is just as good a random number as the block header hash of an arbitrary Bitcoin block, and it's impossible to preimage attack in such a way as to produce a desired winner. The is legit randomness because everyone doing anything whatsoever to the page is producing entropy.
1
u/MrJohnCream Jan 20 '15
They'll never take me pot of gold!
1
u/henrytheangryredneck Jan 20 '15
First round is on me!
1
u/falcun Jan 20 '15
I volunteer as tribute!
1
u/[deleted] Jan 20 '15
As cool as a million dollars would be I just want some games on steam. Kerbal Space looks like the tits. Also beer and pizza would be cool.
1
u/alekbalazs Jan 20 '15
Free entry
1
u/Kashyd Jan 20 '15
Here goes nothing!
1
u/holygrailoffail Jan 21 '15
PLz pik me ty
1
u/tadakaluri Feb 19 '15
Great Idea!!!
1
u/phoeniks Feb 23 '15
Fingers crossed
1
u/fnxTX Feb 23 '15
Neat idea. I'll join this lovely group. And if I win, well, I guess a couple unSys projects get fed with pizza instead of ramen for a while >.<
1
u/cHecker_oD Feb 23 '15
Cool idea, good luck to y'all!
1
u/anonpls Feb 24 '15
YES! I can actually donate more than 5 bucks this time too.
1
u/Arthur_Person Feb 24 '15
What safety measures are there to stop a a script or bot program that makes numerous new users that comment to increase their chance of winning.
1
u/KZISME Feb 24 '15
Let see what happens shall we....
1
u/why2k Feb 24 '15
This is awesome.
1
u/lyjacknt Feb 24 '15
Great to see this continue ~
1
u/d29b Feb 24 '15
OH YEAH!
1
u/enalios Feb 24 '15
This is a really cool experiment - exactly the kind of stuff I like to see on the internet!
I suppose I'd use it help fund my game design hobby while not using up money I'd otherwise use to provide for my family!
1
u/cathline Feb 24 '15
So, no begging.
Does whining work better??
1
u/Novazilla Feb 24 '15
Good Luck all!
1
u/workaway24 Feb 24 '15
I'll take my stab at it. Just heard about this sub and its freakin' amazing! Good luck everyone.
1
u/airforceaaron Mar 23 '15
I hate to say atodaso, but I F#$*ing ATODASO!
1
u/Peruzzy Apr 25 '15
Rolling, yeahhh!
1
u/PBCookie May 23 '15
I could buy a lot of peanuts
1
u/Nishou May 23 '15
Let's go reddit!
1
u/Tiberius5115 May 23 '15
Worth a shot eh?
1
u/Flip-In-StocksGang Jul 19 '22
Where do I comment to participate in winning & donating?