Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: S4VV4S on May 28, 2014, 07:44:32 PM



Title: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on May 28, 2014, 07:44:32 PM
So, from what I understand is that Bitcoin addresses can be created "on the fly" at whatever number at a time without the fear of generating a duplicate address because of the chances.

Well, Bitcoin seems to be doing pretty well, so,
what happens after 20 years?

I am pretty sure that at some point unique addresses are going to start running out....

So what happens?

 


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: farlack on May 28, 2014, 07:49:22 PM
There are this many addresses

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976




Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on May 28, 2014, 07:51:33 PM
There are this many addresses

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976




What, currently or possible?


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Syke on May 28, 2014, 07:52:42 PM
So, from what I understand is that Bitcoin addresses can be created "on the fly" at whatever number at a time without the fear of generating a duplicate address because of the chances.

Well, Bitcoin seems to be doing pretty well, so,
what happens after 20 years?

I am pretty sure that at some point unique addresses are going to start running out....

The sun will run out of fuel before we run out of addresses.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: farlack on May 28, 2014, 07:53:47 PM
There are this many addresses

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976




What, currently or possible?

Possible. We wont ever reach that.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DeathAndTaxes on May 28, 2014, 07:54:10 PM
There are this many addresses

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976




What, currently or possible?

The number of possible addresses (2^160)

Currently there are only 6M addresses associated with any unspent output ("funded").

If you are worried assume there are 1 billion Bitcoin users and they each generate 1 billion new addresses per day.  How long would it take to generate 1% of the possible addresses.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: steelboy on May 28, 2014, 07:54:21 PM
So, from what I understand is that Bitcoin addresses can be created "on the fly" at whatever number at a time without the fear of generating a duplicate address because of the chances.

Well, Bitcoin seems to be doing pretty well, so,
what happens after 20 years?

I am pretty sure that at some point unique addresses are going to start running out....

So what happens?

 

lol, i don't know exactly but the figures are ridiculous. Something like if an address is created every second it would be trillions of years before we run out. Probably more to be honest :D


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: farlack on May 28, 2014, 07:56:01 PM
Everyone on the planet would have to have like 200,000,000,000,000,000,000,000,000,000,000,000,000 wallets to duplicate.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: jbrnt on May 28, 2014, 08:17:11 PM
There are 2^160 unique addresses, that is around 1.4 x 10^48
The blockchain reports that only 200000 unique addresses were ever used, that is 2 x 10^5
https://blockchain.info/charts/n-unique-addresses

Estimated from the chart, used addresses triple every year.
In 20 years time, we could have used 7 x 10^14 addresses,
The address space will still be 2 x 10^33 times more than the used addresses.

Probability of address collision is still extremely low, but yes, it does made you feel less assured.



Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: GogglesPisano on May 28, 2014, 08:33:14 PM
Very informative, I have often wondered about this myself.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: dandate2 on May 28, 2014, 08:54:53 PM
Possibility of abiogenesis (life created on earth without God) has been calculated:

1 out of 10,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000

So don't think we'll run out of wallets


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Jcw188 on May 28, 2014, 09:20:05 PM
I assume this factors in the fact that many people are trying to get vanity addresses?  how fast can these generators generate new addys?


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: jc01480 on May 28, 2014, 09:30:48 PM
We'll all be 20 years older.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on May 28, 2014, 09:46:12 PM
I assume this factors in the fact that many people are trying to get vanity addresses?  how fast can these generators generate new addys?

It doesn't matter.  It isn't a concern.

Many people seem to have a very difficult time comprehending just how big the numbers we are dealing with are.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: freedomno1 on May 28, 2014, 09:52:37 PM
That is a giant scale simply put their are enough generated addresses that it would not run out for a long time
Anyways here is the FAQ should help answer most questions
https://en.bitcoin.it/wiki/FAQ


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: drrussellshane on May 28, 2014, 10:37:21 PM
I assume this factors in the fact that many people are trying to get vanity addresses?  how fast can these generators generate new addys?

It doesn't matter.  It isn't a concern.

Many people seem to have a very difficult time comprehending just how big the numbers we are dealing with are.

In their defense, the human brain itself is not particularly good with grokking such large numbers.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: nkocevar on May 28, 2014, 10:47:34 PM
At my current calculations it would take all 7 billion people in the world to use 2,087,859,481,901,289,883,148 addresses. in other words, they would all have to generate 114,403,259,282,262,459 a day for 50 YEARS to run out of addresses. Running out of addresses is unfathomable.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: galbros on May 28, 2014, 11:05:54 PM
At my current calculations it would take all 7 billion people in the world to use 2,087,859,481,901,289,883,148 addresses. in other words, they would all have to generate 114,403,259,282,262,459 a day for 50 YEARS to run out of addresses. Running out of addresses is unfathomable.

Stuff like this is actually helpful.  While I realized the number of addresses was huge the thought had occurred to me that each person makes millions of financial transactions and so putting the number in terms like that really helps.

And yes, people are really poor with really big numbers, even distinguishing between millions, billions, and trillions taxes them.

Good Luck!


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: wachtwoord on May 28, 2014, 11:06:56 PM
This topic made me chuckle :)


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: nkocevar on May 28, 2014, 11:26:17 PM
At my current calculations it would take all 7 billion people in the world to use 2,087,859,481,901,289,883,148 addresses. in other words, they would all have to generate 114,403,259,282,262,459 a day for 50 YEARS to run out of addresses. Running out of addresses is unfathomable.

Stuff like this is actually helpful.  While I realized the number of addresses was huge the thought had occurred to me that each person makes millions of financial transactions and so putting the number in terms like that really helps.

And yes, people are really poor with really big numbers, even distinguishing between millions, billions, and trillions taxes them.

Good Luck!

haha hey, these calculations literally took 45 seconds. All I did was copy and paste into the windows calculator xD Glad I could help though!


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: haploid23 on May 28, 2014, 11:52:22 PM
And how did you guys calculate these numbers? Is it how many possible combinations of all upper case letters, lower case letters, and numbers, with the possible 34 characters?


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on May 29, 2014, 12:09:24 AM
And how did you guys calculate these numbers? Is it how many possible combinations of all upper case letters, lower case letters, and numbers, with the possible 34 characters?

The bitcoin address is a base58 representation of a 160 bit hash value with a version number on the front and a 4 byte checksum on the end.

Since any given 160 bit hash will always have the same 4 bytes for the checksum, the checksum is not part of the calculation of how many distinct addresses there are.  Since we are specifically talking about 1 type of address, the version number is also not part of the calculation of how many distinct addresses there are.

The assumption everyone is making is that if you start with all possible 256 bit numbers (the ECDSA private key), and you calculate the ECDSA public keys (another set of 256 bit numbers), and you hash them with SHA256, and then hash the results of that with RIPEMD160, then you will have an even distribution across all 160 bit values.

Assuming that is true, then the total number of possible addresses is 2160

Plug 2160 into a calculator (or into the Google search box), and you'll find that the result is 1.4615016 X 1048


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Plento on May 29, 2014, 12:11:41 AM
There are this many addresses

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976




Is that actually how many there are or did you pull that out of your behind?
If that's the number... wow.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on May 29, 2014, 12:14:02 AM
There are this many addresses

1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976
Is that actually how many there are or did you pull that out of your behind?
If that's the number... wow.

That's the actual number (assuming that all possible 160 bit values will result from a SHA-256 hash followed by a RIPEMD-160 hash of all possible 256 bit ECDSA public keys using the Secp256k1 curve).


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: RUEHL on May 29, 2014, 12:14:19 AM
Long after man has fallen, future civilizations, possibly evolved from mice or cockroaches will still be generating Bitcoin addresses.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: ShakyhandsBTCer on June 13, 2014, 01:14:00 AM
When you create an address nothing happens to the network. Only when payment is sent to that address is when the network will have a record of that address.

It would be possible, in theory (but extremely unlikely) for two people to "create" an address but neither send any BTC to it so neither would ever know that the other had created such address.

This does actually happen with brain wallet miners as they are "mining" the same kind of potential brain wallets.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Skele on June 17, 2014, 12:15:15 AM
The max amount of Bitcoin Addresses is more or less equal to the number of atoms that are in this world..


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: silversurfer1958 on June 17, 2014, 01:07:05 AM
Save Bitcoin addresses, use mine instead  ;D


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 08:51:00 AM
Save Bitcoin addresses, use mine instead  ;D

For sure.
Give us your private key and we will do just that  ;D


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: icet208 on June 17, 2014, 10:04:02 AM
you will win many time at loto games before you run out of addresses.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 10:13:52 AM
How does one even say this number: 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976  ???

I bet it would be a whole paragraph  ;D


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: philipma1957 on June 17, 2014, 10:25:13 AM
All very interesting but here is a question how many addresses can be generated in a day one 1 fast pc?

 1 per second seems easy with a  code written for it.


 Lets say I want to possess all the address not used.  1 per second comes to 86,400 a day or  31,536,000 a year.

I also  say lets use a factor of 10   which means 315,360,000 a year    lets say everyone on the planet does that.

 10,000,000,000 is more then our real count of people but WTF   makes the math easy.


315,360,000  x 10,000,000,000 =   3,153,600,000,000,000,000   in one year    while a big number it is no where near the amount possible.  


3,153,600,000,000,000,000  is a lot smaller then 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976



So even if people try to 'corner' the BTC address market it would take a long time to do so.

 And addresses could be increased in length  if really needed to do so.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: markj113 on June 17, 2014, 10:39:00 AM
Would it be possible for someone to write a malicious program to generate a massive amount of addresses continously?

I am thinking of a large botnet, all generating thousands of addresses a second?



Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 10:42:28 AM
Would it be possible for someone to write a malicious program to generate a massive amount of addresses continously?

I am thinking of a large botnet, all generating thousands of addresses a second?



Good question.

What about Quantums.
Can they not generate thousands of addresses per second?

That could also be an attack on the network (of some sort).


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: 5flags on June 17, 2014, 11:07:19 AM
Avram's law: As the length of a BitcoinTalk thread increases, the probability of a quantum computer being mentioned approaches 1.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 11:10:03 AM
Avram's law: As the length of a BitcoinTalk thread increases, the probability of a quantum computer being mentioned approaches 1.

OK, your point being?


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: 5flags on June 17, 2014, 11:23:08 AM
Avram's law: As the length of a BitcoinTalk thread increases, the probability of a quantum computer being mentioned approaches 1.

OK, your point being?

My point is that as the length of a BitcoinTalk thread increases, the probability of a quantum computer being mentioned approaches 1.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 11:26:29 AM
Avram's law: As the length of a BitcoinTalk thread increases, the probability of a quantum computer being mentioned approaches 1.

OK, your point being?

My point is that as the length of a BitcoinTalk thread increases, the probability of a quantum computer being mentioned approaches 1.

For sure it does.
Even though Quantums right now cannot crack SHA-256 it still remains a thread.
Don't you think?



Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Ekaros on June 17, 2014, 11:34:23 AM
How many addresses does need to be generated to have 50% change for one clash?

I assume this is same problem as birthday paradox, just with very large numbers?


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Timmmaahh on June 17, 2014, 11:42:48 AM
There are currently around 200.000 adresses in use:

https://blockchain.info/de/charts/n-unique-addresses

with a total of 2^160 is 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 possbile addresses.

soooooooooooooooooo :D

The chance to hit a address in use is about:

1.34*10^-43 %

0.000,000,000,000,000,000,000,000,000,000,000,000,000,013,4 %

pretty small number, huh ;-)


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 12:04:49 PM

The chance to hit a address in use is about:

1.34*10^-43 %

0.000,000,000,000,000,000,000,000,000,000,000,000,000,013,4 %


So there is a chance?    ;D ;D ;D ;D ;D ;D ;D
LOL


BTW nobody answered my question:

How does one actually SAY this : 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Timmmaahh on June 17, 2014, 12:11:42 PM
Wolfram alpha :D

well sure there is a chance..
its like winning the lottory 3-5 times a row ;-)


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Ekaros on June 17, 2014, 12:19:41 PM

The chance to hit a address in use is about:

1.34*10^-43 %

0.000,000,000,000,000,000,000,000,000,000,000,000,000,013,4 %


So there is a chance?    ;D ;D ;D ;D ;D ;D ;D
LOL


BTW nobody answered my question:

How does one actually SAY this : 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976

http://en.wikipedia.org/wiki/Names_of_large_numbers

Start from there to: find the largest number and then start going down.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Timmmaahh on June 17, 2014, 12:21:45 PM
1 Point 46 Quindecillion

:D


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: rarkenin on June 17, 2014, 12:29:42 PM
1 Point 46 Quindecillion
Let me provide more significant figures in my wording:

One quindecillion, four hundred sixty-one quattuordecillion, five hundred one tredecillion, six hundred thirty-seven duodecillion, three hundred thirty undecillion, nine hundred two decillion, nine hundred eighteen nonillion, two hundred three octillion, six hundred eighty-four septillion, eight hundred thirty-two sextillion, seven hundred sixteen quintillion, two hundred eighty-three quadrillion, nineteen trillion, six hundred fifty-five billion, nine hundred thirty-two million, five hundred fourty-two thousand, nine hundred seventy-six.

Or, http://tts.imtranslator.net/TYni


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 12:30:06 PM
Thanks guys, I was actually expecting to hear the full number  ::)

I am pretty curious to know how long it will be, like a paragraph or so.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 12:30:37 PM
1 Point 46 Quindecillion
Let me provide more significant figures in my wording:

One quindecillion, four hundred sixty-one quattuordecillion, five hundred one tredecillion, six hundred thirty-seven duodecillion, three hundred thirty undecillion, nine hundred two decillion, nine hundred eighteen nonillion, two hundred three octillion, six hundred eighty-four septillion, eight hundred thirty-two sextillion, seven hundred sixteen quintillion, two hundred eighty-three quadrillion, nineteen trillion, six hundred fifty-five billion, nine hundred thirty-two million, five hundred fourty-two thousand, nine hundred seventy-six.

Or, http://tts.imtranslator.net/TYni

^^^ We have a winner and it is a paragraph  ;D ;D ;D ;D ;D ;D


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Lauda on June 17, 2014, 12:33:48 PM
At my current calculations it would take all 7 billion people in the world to use 2,087,859,481,901,289,883,148 addresses. in other words, they would all have to generate 114,403,259,282,262,459 a day for 50 YEARS to run out of addresses. Running out of addresses is unfathomable.
Or in other words, that will never happen.  :)
One shouldn't worry about this, these is enough room for everyone to have many addresses.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: ljudotina on June 17, 2014, 12:36:27 PM
Add adresses and wallets that are intentionaly deleted after some time etc. Not only there is shitload of them, they recicyle too. Cool stuff if you ask me. It's really hard to express how large this numbers are to someone not close to mathematic and phisics. For example i tryed to explain this to my father and i just gave up after some time. Now that i have this block of text (name of number) i think it's gonna be much closer to him....just to see how freaking long does it take to pronounce it  :)


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 12:38:20 PM
At my current calculations it would take all 7 billion people in the world to use 2,087,859,481,901,289,883,148 addresses. in other words, they would all have to generate 114,403,259,282,262,459 a day for 50 YEARS to run out of addresses. Running out of addresses is unfathomable.
Or in other words, that will never happen.  :)
One shouldn't worry about this, these is enough room for everyone to have many addresses.

I am not worried anymore. I was working on something that uses a new address each time.
That's why I was asking ;)


Add adresses and wallets that are intentionaly deleted after some time etc. Not only there is shitload of them, they recicyle too. Cool stuff if you ask me. It's really hard to express how large this numbers are to someone not close to mathematic and phisics. For example i tryed to explain this to my father and i just gave up after some time. Now that i have this block of text (name of number) i think it's gonna be much closer to him....just to see how freaking long does it take to pronounce it  :)

It is quite long innit?  ;D




Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: maok on June 17, 2014, 12:43:29 PM
There are currently around 200.000 adresses in use:

https://blockchain.info/de/charts/n-unique-addresses

The chance to hit a address in use is about:

1.34*10^-43 %

0.000,000,000,000,000,000,000,000,000,000,000,000,000,013,4 %


the number you give is the daily count which is more likely ~150.000 addresses used daily. The number of users on blockchain.info alone is approaching 2 millions( https://blockchain.info/charts/my-wallet-n-users), if you count all other wallets users its a figure of nearly 5 millions users or more. Nevertheless he chance of address collision is still vvvvvvvery low.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: AuroraHF on June 17, 2014, 12:44:37 PM
It'll take literally forever to run out of unique addresses. So don't worry about it, it won't even be used up even after hundreds of years.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Eotnak on June 17, 2014, 02:54:15 PM
Page 3 and no sphere pic.

I always enjoy the analogies of these threads.  They're different every time. I'd like to know the actual odds of creating duplicate addresses vs. 1000 people winning the lottery everyday for a year.  Give me some time and I'll do it myself...


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 02:56:17 PM
Page 3 and no sphere pic.

I always enjoy the analogies of these threads.  They're different every time. I'd like to know the actual odds of creating duplicate addresses vs. 1000 people winning the lottery everyday for a year.  Give me some time and I'll do it myself...

Which lottery?  There are hundreds of them, and they each have different odds.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Syke on June 17, 2014, 03:06:02 PM
It's simple, really. If you somehow had vast amounts of computing power, you could mine all of the rest of the bitcoins faster than you could crack a single address.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 03:09:22 PM
It's simple, really. If you somehow had vast amounts of computing power, you could mine all of the rest of the bitcoins faster than you could crack a single address.

All you need to do that is to maintain more than 50% of the total network hashing power for the next 125 years or so.

It's often called a 51% attack.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Eotnak on June 17, 2014, 03:52:06 PM
Page 3 and no sphere pic.

I always enjoy the analogies of these threads.  They're different every time. I'd like to know the actual odds of creating duplicate addresses vs. 1000 people winning the lottery everyday for a year.  Give me some time and I'll do it myself...

Which lottery?  There are hundreds of them, and they each have different odds.

Fair enough.  NY Lottery 6 numbers, chances of 1 person winning 1 time is 1 in 45,057,474

http://nylottery.ny.gov/wps/portal/!ut/p/c4/04_SB8K8xLLM9MSSzPy8xBz9CP0os_jggBC3kDBPE0MLC0dnA09vT0fLQDNvA0dfU_2CbEdFALm-TnU!/?PC_7_SPTFTVI4188AC0IKIA9Q6K0QS0_WCM_CONTEXT=/wps/wcm/connect/NYSL+Content+Library/NYSL+Internet+Site/Home/Jackpot+Games/LOTTO/Lotto+-+Chances+of+Winning


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 03:59:06 PM
Page 3 and no sphere pic.

I always enjoy the analogies of these threads.  They're different every time. I'd like to know the actual odds of creating duplicate addresses vs. 1000 people winning the lottery everyday for a year.  Give me some time and I'll do it myself...

Which lottery?  There are hundreds of them, and they each have different odds.
Fair enough.  NY Lottery 6 numbers, chances of 1 person winning 1 time is 1 in 45,057,474

If you are trying to find a private key that will allow you to spend the bitcoins associated with a particular bitcoin address...

There are 2160 possible addresses.
2160 = 1.46 X 1048

So, the odds of finding such a private key are 1 in 1.46 X 1048

The odds of winning the NY lottery 6 numbers Y times in a row are:
1 in 45,057,474Y

45,057,4746 = 8.37 X 1045

45,057,4747 = 3.77 X 1053

So the odds of finding such a private key are a bit better than winning the NY lottery 7 times in a row.



Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Eotnak on June 17, 2014, 04:16:13 PM
Page 3 and no sphere pic.

I always enjoy the analogies of these threads.  They're different every time. I'd like to know the actual odds of creating duplicate addresses vs. 1000 people winning the lottery everyday for a year.  Give me some time and I'll do it myself...

Which lottery?  There are hundreds of them, and they each have different odds.
Fair enough.  NY Lottery 6 numbers, chances of 1 person winning 1 time is 1 in 45,057,474

If you are trying to find a private key that will allow you to spend the bitcoins associated with a particular bitcoin address...

There are 2160 possible addresses.
2160 = 1.46 X 1048

So, the odds of finding such a private key are 1 in 1.46 X 1048

The odds of winning the NY lottery 6 numbers Y times in a row are:
1 in 45,057,474Y

45,057,4746 = 8.37 X 1045

45,057,4747 = 3.77 X 1053

So the odds of finding such a private key are a bit better than winning the NY lottery 7 times in a row.



Math is awesome, thanks!!  I wish I was better at it. I thought the odds were actually going to be a lot more distant than that...but then when I thought about it, Those are the odds of a single person buying a single ticket on 7 different drawings and winning every time.  That person cannot ever have purchased a ticket in the past, or ever again in the future...Or as you put it, 7 times in a row.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 04:22:00 PM
If you are trying to find a private key that will allow you to spend the bitcoins associated with a particular bitcoin address...

There are 2160 possible addresses.
2160 = 1.46 X 1048

So, the odds of finding such a private key are 1 in 1.46 X 1048

The odds of winning the NY lottery 6 numbers Y times in a row are:
1 in 45,057,474Y

45,057,4746 = 8.37 X 1045

45,057,4747 = 3.77 X 1053

So the odds of finding such a private key are a bit better than winning the NY lottery 7 times in a row.
Math is awesome, thanks!!  I wish I was better at it. I thought the odds were actually going to be a lot more distant than that...but then when I thought about it, Those are the odds of a single person buying a single ticket on 7 different drawings and winning every time.  That person cannot ever have purchased a ticket in the past, or ever again in the future...Or as you put it, 7 times in a row.

This would be why I generally don't bother playing the lottery.  People don't realize how much the odds are stacked against them.  Winning multiple times on a single ticket each time multiplies those already astonomical odds to dizzying heights.

The best description I've heard of for government run lotteries is:

"A lottery is a government tax levied on the absence of mathematical skills."


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: tertius993 on June 17, 2014, 04:28:48 PM
If you are trying to find a private key that will allow you to spend the bitcoins associated with a particular bitcoin address...

There are 2160 possible addresses.
2160 = 1.46 X 1048

So, the odds of finding such a private key are 1 in 1.46 X 1048

The odds of winning the NY lottery 6 numbers Y times in a row are:
1 in 45,057,474Y

45,057,4746 = 8.37 X 1045

45,057,4747 = 3.77 X 1053

So the odds of finding such a private key are a bit better than winning the NY lottery 7 times in a row.
Math is awesome, thanks!!  I wish I was better at it. I thought the odds were actually going to be a lot more distant than that...but then when I thought about it, Those are the odds of a single person buying a single ticket on 7 different drawings and winning every time.  That person cannot ever have purchased a ticket in the past, or ever again in the future...Or as you put it, 7 times in a row.

This would be why I generally don't bother playing the lottery.  People don't realize how much the odds are stacked against them.  Winning multiple times on a single ticket each time multiplies those already astonomical odds to dizzying heights.

The best description I've heard of for government run lotteries is:

"A lottery is a government tax levied on the absence of mathematical skills."

Or as my brother puts it "The lottery is a tax on imbeciles."


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 04:32:00 PM
If you are trying to find a private key that will allow you to spend the bitcoins associated with a particular bitcoin address...

There are 2160 possible addresses.
2160 = 1.46 X 1048

So, the odds of finding such a private key are 1 in 1.46 X 1048

The odds of winning the NY lottery 6 numbers Y times in a row are:
1 in 45,057,474Y

45,057,4746 = 8.37 X 1045

45,057,4747 = 3.77 X 1053

So the odds of finding such a private key are a bit better than winning the NY lottery 7 times in a row.
Math is awesome, thanks!!  I wish I was better at it. I thought the odds were actually going to be a lot more distant than that...but then when I thought about it, Those are the odds of a single person buying a single ticket on 7 different drawings and winning every time.  That person cannot ever have purchased a ticket in the past, or ever again in the future...Or as you put it, 7 times in a row.

This would be why I generally don't bother playing the lottery.  People don't realize how much the odds are stacked against them.  Winning multiple times on a single ticket each time multiplies those already astonomical odds to dizzying heights.

The best description I've heard of for government run lotteries is:

"A lottery is a government tax levied on the absence of mathematical skills."

Or as my brother puts it "The lottery is a tax on imbeciles."

And as true as what you said may be, a lot of people "gamble" on it and quite a few actually become (multi)-millionaires from it....
If your lucky then your lucky.....
That being said, I don't gamble.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: tertius993 on June 17, 2014, 04:34:35 PM

Or as my brother puts it "The lottery is a tax on imbeciles."

And as true as what you said may be, a lot of people "gamble" on it and quite a few actually become (multi)-millionaires from it....
If your lucky then your lucky.....
That being said, I don't gamble.

Of course, and I'm happy to be an imbecile myself from time to time, but it's still worryingly true ...


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: foggyb on June 17, 2014, 04:36:21 PM
But you'll never win if you don't play!

You miss 100% of the chances you don't take!

and other platitudes.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 04:40:16 PM
And as true as what you said may be, a lot of people "gamble" on it and quite a few actually become (multi)-millionaires from it....

Compared to the number of people that play, I wouldn't call the number of winners "quite a few", but that's a matter of personal opinion.

Regardless, as with any tax, the government takes some of the revenue gathered and spreads it around to make people feel more comfortable with paying it.  In the case of the lottery, they just don't spread it quite a thinly.  Instead, they take a big chunk of the revenue, and give it all to one person (or small group of people) every now and then to discourage learning about math, and encourage others to keep paying the tax.

If I told you that sales tax was a tax levied on the purchase of merchandise, you wouldn't respond with "As true as what you said might be, a lot of people still make purchases, and the government spends some of that revenue on services for citizens".


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 04:48:50 PM
But you'll never win if you don't play!

Of course you will.

I know someone that's bought five $1 lottery tickets every week for the past 20 years that I've known them.  They haven't won the jackpot yet.

Relative to them, I've already "won" $5200.

I suppose they've won some smaller amounts occasionally.  If we assume they've won back about 10% of the total they've spent, then I've "won" about $4,680 more than them.



Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Meuh6879 on June 17, 2014, 04:54:55 PM
adress are generate with a random function ... random function is a variable based on the time and date.
you can't have duplicate adress "over the time".

http://3.bp.blogspot.com/-Sn7QkyYvyuA/USLSGGM3sPI/AAAAAAAACMY/O07-gMgjfb8/s1600/liam_neeson_wink+%5BGIF%5D.gif


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 05:01:53 PM
random function is a variable based on the time and date.

No. It isn't.  That wouldn't be "random", that would be "deterministic", since the value could be "determined" based on the time and date.

The bitcoin random function is NOT based on time and date.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: HowGudAmI on June 17, 2014, 05:15:24 PM
How does one even say this number: 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976  ???

I bet it would be a whole paragraph  ;D

Rounded somewhat (actually, quite a lot).

The number is one point four six one five quindecillion if you use the short scale for numbers or one point four six one five Octillion if you use the long scale.

Source: http://en.wikipedia.org/wiki/Names_of_large_numbers


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: JorgeStolfi on June 17, 2014, 05:16:19 PM
As the previous posts have explained, there are so many possible accounts the chances of two people creating the same account is too small to worry about.  The chances of the Sun exploding next week are much higher, for example.

However, there is a non-negligible risk that the software that one uses to generate the key/address pair is malicious, so that it will pick one among only 10 billion different address (say), rather than among the full set of 2^160.  Without inspecting the code, there is no way to tell that one's address has been generated in that fashion.  indeed, the malicious code may even erase itself after a certain time, putting the correct software in its place; so that not even code inspection would work.

After distributing that malicious software to one or more unsuspecting users, the hacker generates all those 10 billion pairs, and monitors the block chain until one of those addresses shows up with a large enough balance.  Then she issues a transfer of the whole balance to her own address.  The victim would not be able to prevent that, and would not even be able to prove that he did not issue the transaction himself.  Note that this attack works even if the victim is careful to run the address/key generation software in a separate computer that is isolated from the internet, and never takes the keys out of there.

In fact, there is no way of telling whether such a hack has occurred already.  Maybe some hacker out there has a large file of address/key pairs that includes the the private keys of many unsuspecting victims, and she is only waiting for the best moment to strike.

A variant of this scam is feasible also if the key/address generation software is legitimate but has a bug in its random number generator that limits it to, say, 10 billion different addresses.  A hacker that discovers the bug could then exploit it as described above.  The chances of such a bug being introduced by accident and then discovered by a hacker are certainly small -- but still bigger than those of a collision among 2^160 addresses.  

(Actually, such a stupid "bad random generator" bug was found recently in the Brazilian electronic voting machines.  It could allow anyone to discover someone else's vote using only data files that must be public by law and the time when that person voted.  Ironically, that bug was put in by the developers in order to "strengthen" the machine's security.)

In yet another variant, the malicious code is distributed through a "trojan horse", some apparently unrelated software such as a solitaire game.  When executed, the malicious program silently scans the computer's file system for some popular key/address generation software, and modifies it by weakening its random number generator, as above.

The moral of this tale is that one cannot be careful enough when choosing, downloading, and running the key/address generation software.  It is one of the soft spots that hackers are going to aim for.



Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: sgravina on June 17, 2014, 05:49:18 PM
Possibility of abiogenesis (life created on earth without God) has been calculated:

1 out of 10,000,...,000

So don't think we'll run out of wallets

This is wrong.  The probability is 1.0.  For every earth observed life exists.  Abiogenesis occurred.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Littleshop on June 17, 2014, 06:44:53 PM
I assume this factors in the fact that many people are trying to get vanity addresses?  how fast can these generators generate new addys?

It doesn't matter.  It isn't a concern.

Many people seem to have a very difficult time comprehending just how big the numbers we are dealing with are.

These numbers are Carl Sagan big. 

We can effectively say it is not possible to run out of addresses.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: JorgeStolfi on June 17, 2014, 07:08:05 PM
These numbers are Carl Sagan big. 
They are not.  Even the largest numbers in astronomy are MUCH MUCH smaller than 2^160.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: leopard2 on June 17, 2014, 09:08:34 PM
I agree that finding private keys via brute force is not possible  ;D

But what if an agency such as the NSA simply goes ahead and reserves all 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 addresses for themselves? That would kill BTC wouldn't it?  ???


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DannyHamilton on June 17, 2014, 09:11:58 PM
I agree that finding private keys via brute force is not possible  ;D

But what if an agency such as the NSA simply goes ahead and reserves all 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 addresses for themselves? That would kill BTC wouldn't it?  ???

You're joking, right?


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: S4VV4S on June 17, 2014, 09:15:59 PM
I agree that finding private keys via brute force is not possible  ;D

But what if an agency such as the NSA simply goes ahead and reserves all 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 addresses for themselves? That would kill BTC wouldn't it?  ???

Sorry you lost me.
What do you mean?

Actually generating all these addresses?????

That wont happen.

Basically the reason I asked this question is that I am working on a project that uses a new (disposable) address for each transaction.

I wanted to know what are the chances of.....

The chances are well, non existant.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: bitgold on June 17, 2014, 09:27:58 PM
I agree that finding private keys via brute force is not possible  ;D

But what if an agency such as the NSA simply goes ahead and reserves all 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 addresses for themselves? That would kill BTC wouldn't it?  ???
Your NSA will most definitely need to build a memory storage bigger than this planet to store this amount of data.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: edd on June 17, 2014, 11:33:57 PM
I agree that finding private keys via brute force is not possible  ;D

But what if an agency such as the NSA simply goes ahead and reserves all 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 addresses for themselves? That would kill BTC wouldn't it?  ???

There's a difference between knowing the number of possible combinations and actually doing anything with them. We've established that even just generating them, a process that takes just a fraction of a second for each, would require more time than we have before the heat death of the universe.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Meuh6879 on June 17, 2014, 11:51:36 PM
No. It isn't.

with no time reference, you can't create a random formula ...

i build microprocessor for industrial use (without NTP chip) ... and random is only possible because crytal frequency is not "regulary the same in identical chip".

the adress of bitcoin must be generate in random and "row" strategy.
only based time/date strategy do this.

that why, in log of bitcoin-qt, you can see NTP mark regulary to correct the main process of mining/RPC orders.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: DeathAndTaxes on June 18, 2014, 12:10:15 AM
No. It isn't.

with no time reference, you can't create a random formula ...

i build microprocessor for industrial use (without NTP chip) ... and random is only possible because crytal frequency is not "regulary the same in identical chip".

the adress of bitcoin must be generate in random and "row" strategy. only based time/date strategy do this.

Yeah that is still wrong no matter how many times you repeat it.   There are plenty of entropy sources which don't involve time.  

Quote
that why, in log of bitcoin-qt, you can see NTP mark regulary to correct the main process of mining/RPC orders.

If you are referring to entries like this:

Quote
2014-06-13 15:37:50 receive version message: /Satoshi:0.8.6/: version 70001, blocks=305596, us=<nope>, them=59.13.18.204:8333, peer=59.13.18.204:8333
2014-06-13 15:37:50 Added time data, samples 4, offset +24 (+0 minutes)
2014-06-13 15:37:50 receive version message: /Satoshi:0.8.6/: version 70001, blocks=305596, us=<nope>, them=46.4.105.239:8333, peer=46.4.105.239:8333
2014-06-13 15:37:50 Added time data, samples 5, offset +25 (+0 minutes)
2014-06-13 15:37:50 nTimeOffset = +24  (+0 minutes)

They are not references to NTP.  It is comparisons of the local machine clock against the network median time.  It isn't used to seed the PRNG but to limit how far miners can drift the timestamps of blocks.


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: cr1776 on June 18, 2014, 12:14:55 AM
...
"A lottery is a government tax levied on the absence of mathematical skills."

My calc three/stats teacher stated it as:

A lottery is a tax levied on the innumerate.

:-)


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: LeMiner on June 18, 2014, 12:28:12 AM
How does one even say this number: 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976  ???

I bet it would be a whole paragraph  ;D


one quindecillion,
four hundred sixty-one quattuordecillion,
five hundred one tredecillion,
six hundred thirty-seven duodecillion,
three hundred thirty undecillion,
nine hundred two decillion,
nine hundred eighteen nonillion,
two hundred three octillion,
six hundred eighty-four septillion,
eight hundred thirty-two sextillion,
seven hundred sixteen quintillion,
two hundred eighty-three quadrillion,
nineteen trillion,
six hundred fifty-five billion,
nine hundred thirty-two million,
five hundred forty-two thousand,
nine hundred seventy-six


;)


Title: Re: Bitcoin Addresses: What happens after 20 years?
Post by: Meuh6879 on June 18, 2014, 12:40:26 AM
Yeah that is still wrong no matter how many times you repeat it.   There are plenty of entropy sources which don't involve time.  

entropy source use a referencial system, too ...

if you talk about the random formula based on "event" of the bitcoin ... it's, at the beginning, a question of time/date ... and after this, the weight of the first block and all following blocks.

in this, random of bitcoin adress is unique ... and so, not "only based on time/date random genesis formula".
you can't create random function in mathematical environment ... because all formula answer a same result when you use it.

that's why A.I. don't exist now ... because programming tool are based on mathematic.
if you boot a hundred of machines identicals with the all choice of mathematic formula, the result will be always the same on all machines (depending of the variation of the supply for the final speed of calculation).

find me a mathematical formula that it don't always send the same result ...

---

For me, it's not a problem ... but for beginners, it's good to understand that you can't simply use a private key because of the time/date simply designed random formula "at the begin" of bitcoin network.

all beginners think that "generation of bitcoin adress" is based on a non-lineairy random strategy ... it's not true.
because time/date evolve (and you can't back to the past), all adress must and are different (+ variable with bitcoin network event).