Bitcoin Forum
May 10, 2024, 09:53:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help Me Make a probably Fair System  (Read 493 times)
Sarthak (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 501

Error 404: there seems to be nothing here.


View Profile
April 13, 2015, 03:00:39 PM
Last edit: April 13, 2015, 03:37:33 PM by Sarthak
 #1

Hello everyone,

    Suppose I want to do a giveaway! The Giveawayseekers Give me a ten digit number. So I want to choose a lucky winner(only one winner) and want the winner to be chosen randomly based on the number they provide! I dont exactly know how but I think in this case the ten digit number acts as a client seed! So how do I choose a winner when they give me a ten digit number and I have to do a giveaway based on that. Please provide me the detailed step by step procedure! Thanks Smiley

1715378014
Hero Member
*
Offline Offline

Posts: 1715378014

View Profile Personal Message (Offline)

Ignore
1715378014
Reply with quote  #2

1715378014
Report to moderator
1715378014
Hero Member
*
Offline Offline

Posts: 1715378014

View Profile Personal Message (Offline)

Ignore
1715378014
Reply with quote  #2

1715378014
Report to moderator
1715378014
Hero Member
*
Offline Offline

Posts: 1715378014

View Profile Personal Message (Offline)

Ignore
1715378014
Reply with quote  #2

1715378014
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
April 13, 2015, 03:24:39 PM
 #2

What does this possibly have to do with Bitcoin technical support???

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Sarthak (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 501

Error 404: there seems to be nothing here.


View Profile
April 13, 2015, 03:35:47 PM
 #3

What does this possibly have to do with Bitcoin technical support???

Oh! Maybe I am in the wrong section! Can you please tell me the right section for this?

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
April 13, 2015, 03:39:01 PM
 #4

I don't have a clue... what is "Giveawayseekers" and is it some kind of crypto?  I don't understand your question in the OP at all.  You have some 10 digit number and want to give something to somebody based on that number?

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Sarthak (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 501

Error 404: there seems to be nothing here.


View Profile
April 13, 2015, 03:43:20 PM
 #5

I don't have a clue... what is "Giveawayseekers" and is it some kind of crypto?  I don't understand your question in the OP at all.  You have some 10 digit number and want to give something to somebody based on that number?

Ah Giveawayseekers are those who participate on the giveaway. Don't know if this word is in the dictionary Tongue

Heres the question in a more clear way:

1) People who participate give me a ten digit number.
2 ) I have to choose a lucky winner based on that number!
3) I need the Probably Fair algorith to choose the winner! (I need only one winner).

Hope you understand!

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
April 13, 2015, 03:54:21 PM
 #6

OK... so you have a list of numbers and you want to pick one of those numbers.

Try this: https://www.random.org/lists/

Just put your numbers into the text box and click the randomize button.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Sarthak (OP)
Hero Member
*****
Offline Offline

Activity: 518
Merit: 501

Error 404: there seems to be nothing here.


View Profile
April 13, 2015, 04:02:00 PM
 #7

OK... so you have a list of numbers and you want to pick one of those numbers.

Try this: https://www.random.org/lists/

Just put your numbers into the text box and click the randomize button.

Thanks but I didnt want that! It doesn't become probably fair as I can randomize until I get the winner of my choice!
Any other way?

cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1301


View Profile
April 13, 2015, 04:26:54 PM
 #8

Use part of the block hash for the block at the end of the giveaway.  Beforehand you'd say "this giveaway ends at block 352993" and block 352993's hash determines the winner based on the last 10 decimal digits of the hash.

E.g. you'd look at the block hash,

0000000000000000004ffa5650fc8148beb6f9f21bd2a2db115376ecbcb61f21  (this is in hex hash for block 351963)

And pick the winner based on the value of the hash.

So:
the last digits of that block hash are: cbcb61f21 which is 54,705,659,681 in decimal.  Truncate it to 10 digits, so 4,705,659,681 would be the winner.  No one can control the hash of the following block, hash distributions are believed to be random.

Do they have to pick it exactly?  If not, then you'd say "closest number to X".  Are they placing entries in a publicly provable space?  E.g. on the blockchain?

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
April 13, 2015, 04:47:19 PM
 #9

OK... so you have a list of numbers and you want to pick one of those numbers.

Try this: https://www.random.org/lists/

Just put your numbers into the text box and click the randomize button.

Thanks but I didnt want that! It doesn't become probably fair as I can randomize until I get the winner of my choice!
Any other way?
Wouldn't that be true of any randomization algorithm?  You execute it enough times and you'll get the result you want.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Safeless
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
April 13, 2015, 09:02:19 PM
 #10

Hello everyone,

    Suppose I want to do a giveaway! The Giveawayseekers Give me a ten digit number. So I want to choose a lucky winner(only one winner) and want the winner to be chosen randomly based on the number they provide! I dont exactly know how but I think in this case the ten digit number acts as a client seed! So how do I choose a winner when they give me a ten digit number and I have to do a giveaway based on that. Please provide me the detailed step by step procedure! Thanks Smiley

The only fair trustable way is to base it on a number that does not exist yet. For example there might be some astronomical phenomenon, say sunspots, that produce a number to many decimal places and which can be measured by any individual but are not predictable as yet.

So you might say "the ten digits closest to and higher than the ten digits following the decimal on x measure of sunspot activity on y date".
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!