Bitcoin Forum
July 10, 2024, 04:53:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 'Euromillions' numbers drawn from bitcoin hash and tweeted every 10 min  (Read 1095 times)
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1017


ASMR El Salvador


View Profile WWW
March 13, 2015, 11:34:40 AM
 #1

I show how games like 'Euromillions' could use the bitcoin hash of a given block to draw the numbers.
In the tweet account https://twitter.com/totoluso
I post the 'euromillion' numbers using the hash of the latest block as a source for randomness.


{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
Jesu
Full Member
***
Offline Offline

Activity: 166
Merit: 100


View Profile
March 13, 2015, 11:38:06 AM
 #2

Well I don't think they will be using this method to draw the numbers but maybe somebody could set up an official bitcoin blockchain lottery. That would be pretty cool.
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1017


ASMR El Salvador


View Profile WWW
March 13, 2015, 11:41:11 AM
 #3

What do you mean by official? Do you mean by the Bitcoin Foundation?

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
bri912678
Sr. Member
****
Offline Offline

Activity: 348
Merit: 250



View Profile
March 13, 2015, 11:54:48 AM
 #4

That's a very clever way of picking the numbers. Is there no way to cheat that system? I can't think of any way anyone could cheat it. You would have to force a block's hash to be something predictable.
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1017


ASMR El Salvador


View Profile WWW
March 13, 2015, 11:59:03 AM
 #5

Impossible to cheat. No one can guess what will be the hash of a future block.

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
odolvlobo
Legendary
*
Offline Offline

Activity: 4368
Merit: 3287



View Profile
March 13, 2015, 04:09:09 PM
Last edit: March 13, 2015, 04:22:44 PM by odolvlobo
 #6

Impossible to cheat. No one can guess what will be the hash of a future block.

...except the miner that mines the block. That person is the first to know. The solution would be to halt bets before the previous block.

There is an additional complication of which block is the "latest block" in the case of a branch in the chain. Miners could collude to affect the outcome.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
BillyBobZorton
Legendary
*
Offline Offline

Activity: 1204
Merit: 1028


View Profile
March 13, 2015, 04:35:57 PM
 #7

Well I don't think they will be using this method to draw the numbers but maybe somebody could set up an official bitcoin blockchain lottery. That would be pretty cool.
Yeah this sounds great, but since nothing is centralized in Bitcoin it couldn't be "official". There could be several sites doing it.
redsn0w
Legendary
*
Offline Offline

Activity: 1778
Merit: 1043


#Free market


View Profile
March 13, 2015, 04:41:07 PM
 #8

Well I don't think they will be using this method to draw the numbers but maybe somebody could set up an official bitcoin blockchain lottery. That would be pretty cool.
Yeah this sounds great, but since nothing is centralized in Bitcoin it couldn't be "official". There could be several sites doing it.

I think you wanted to say  "neutral" not official. No one can manipulate the blockchain ( as odolvlobo said "only the first miner that has find the block for first") . The other option would be to have the +51% of the hash power but I think no one will do this type of attak only for win a round in a lottery based on the bitcoin blockchain.
odolvlobo
Legendary
*
Offline Offline

Activity: 4368
Merit: 3287



View Profile
March 13, 2015, 04:50:55 PM
 #9

I think you wanted to say  "neutral" not official. No one can manipulate the blockchain ( as odolvlobo said "only the first miner that has find the block for first") . The other option would be to have the +51% of the hash power but I think no one will do this type of attak only for win a round in a lottery based on the bitcoin blockchain.

The blockchain can be manipulated in this case. You don't need 51% because you don't need to control the outcome, you just want to affect it. If the lottery is big enough, then even a small advantage could be very profitable.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Lorenzo
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
March 13, 2015, 05:41:26 PM
Last edit: March 13, 2015, 05:52:08 PM by Lorenzo
 #10

I believe there are already many lotteries in the Bitcoin world that use this method.

Also, miners have the ability to discard blocks that they find so it does open up the possibility that miners could discard blocks with "losing" block hashes. For example, if you spent 100 BTC on a 50 percent chance to make 200 BTC and you mined a block that would make you lose your bet, it would make sense to discard that block.

Mining the block: Lose 100 BTC to gain 25 BTC
Not mining the block: 50 percent chance of gaining 200 BTC

I know the OP is talking about non-BTC lotteries but it's the same idea.
remotemass (OP)
Legendary
*
Offline Offline

Activity: 1120
Merit: 1017


ASMR El Salvador


View Profile WWW
March 13, 2015, 09:50:12 PM
 #11

In the case of 'Euromillions' bets acceptance is closed on the day before the draw so it would be fine using this method.

{ Imagine a sequence of bits generated from the first decimal place of the square roots of whole integers that are irrational numbers. If the decimal falls between 0 and 5, it's considered bit 0, and if it falls between 5 and 10, it's considered bit 1. This sequence from a simple integer count of contiguous irrationals and their logical decimal expansion of the first decimal place is called the 'main irrational stream.' Our goal is to design a physical and optical computing system system that can detect when this stream starts matching a specific pattern of a given size of bits. bitcointalk.org/index.php?topic=166760.0 } Satoshi did use a friend class in C++ and put a comment on the code saying: "This is why people hate C++".
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!