Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: albert11 on March 02, 2015, 06:17:00 PM



Title: bitcoin addresses question
Post by: albert11 on March 02, 2015, 06:17:00 PM
- more an more users
- more and more services that generate a new address for every transaction ( localbitcoins for instance) for more privacy


I know there is a huge amount of different key pair but as time goes by this amount will decrease which means people might generate a key pair that belongs or has been used by someone else? wouldn't this be problematic in the future? anyone heard of someone having generated a key pair that was used already? maybe i'm missing something...


Title: Re: bitcoin addresses question
Post by: numanoid on March 02, 2015, 06:20:14 PM
- more an more users
- more and more services that generate a new address for every transaction ( localbitcoins for instance) for more privacy


I know there is a huge amount of different key pair but as time goes by this amount will decrease which means people might generate a key pair that belongs or has been used by someone else? wouldn't this be problematic in the future? anyone heard of someone having generated a key pair that was used already? maybe i'm missing something...

No! I do understand that amount will increase , but seeing the length of the key , it has trillions of probabilities and it will never produce same key or address twice


Title: Re: bitcoin addresses question
Post by: tonygal on March 02, 2015, 06:27:13 PM
Although it is not exactly aimed at this question, I still think that the following image is
helpful in order to grasp the numbers involved:
http://img5.picload.org/image/cwgrdap/btc.jpg


Title: Re: bitcoin addresses question
Post by: albert11 on March 02, 2015, 06:37:24 PM
- more an more users
- more and more services that generate a new address for every transaction ( localbitcoins for instance) for more privacy


I know there is a huge amount of different key pair but as time goes by this amount will decrease which means people might generate a key pair that belongs or has been used by someone else? wouldn't this be problematic in the future? anyone heard of someone having generated a key pair that was used already? maybe i'm missing something...

No! I do understand that amount will increase , but seeing the length of the key , it has trillions of probabilities and it will never produce same key or address twice

do you know the exact number of possibilities?

Imagine if half the population uses bitcoin, that's 3.5 billion.

Say each person generate 1 new key pair per day on average, that's 365 new key pair multiply that by 3.5 billions  that's more than 1 trillion per year.

Now considering the average is likely more than 1 new key pair/day since many people uses a different address for every transaction so that would tens of trillions per year multiply that by 100 years and thats thousands of trillions so surely some people will use a key that has been used already wouldn't they?


Title: Re: bitcoin addresses question
Post by: RodeoX on March 02, 2015, 06:44:50 PM
Your right that it is a finite number. But there are just under 2^256 public keys, and that is a huge number. A trillion is nothing.


Title: Re: bitcoin addresses question
Post by: albert11 on March 02, 2015, 06:56:35 PM
Your right that it is a finite number. But there are just under 2^256 public keys, and that is a huge number. A trillion is nothing.

how many is 2^256?  how many zeros is that?


Title: Re: bitcoin addresses question
Post by: DeathAndTaxes on March 02, 2015, 06:59:20 PM
2^256 is roughly 1 followed by 77 zeroes.   


Title: Re: bitcoin addresses question
Post by: RodeoX on March 02, 2015, 07:05:40 PM
Your right that it is a finite number. But there are just under 2^256 public keys, and that is a huge number. A trillion is nothing.

how many is 2^256?  how many zeros is that?
2^256 is roughly 1 followed by 77 zeroes.   

So like this: 100,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

For comparison here is a measly trillion: 1,000,000,000,000
And remember that every additional zero makes the number 10 times larger. It's a staggering number really.


Title: Re: bitcoin addresses question
Post by: tonygal on March 02, 2015, 07:11:02 PM
It should be easy to determine the probability that in 100 years of this
trillion-assumption there occurs a clash (along the lines of
http://en.wikipedia.org/wiki/Birthday_problem (http://en.wikipedia.org/wiki/Birthday_problem)), and I guess
it will look like 0.0000....1 %


Title: Re: bitcoin addresses question
Post by: albert11 on March 02, 2015, 07:16:51 PM
omg that's a lot of possibilities indeed, no need to worry then!


we could do a lottery actually, the first person who generate an already used key pair wins all of N.satoshi's bitcoin :)


Title: Re: bitcoin addresses question
Post by: Mikestang on March 02, 2015, 07:17:22 PM
Here are a couple graphics that help drive home the number of potential btc addresses.

https://i.imgur.com/ag3KQ0L.png

https://dealingwithdisruption.files.wordpress.com/2014/04/addresses.jpg


Title: Re: bitcoin addresses question
Post by: albert11 on March 02, 2015, 07:19:34 PM
nice graph,


Title: Re: bitcoin addresses question
Post by: odolvlobo on March 02, 2015, 09:10:26 PM
Your right that it is a finite number. But there are just under 2^256 public keys, and that is a huge number. A trillion is nothing.

how many is 2^256?  how many zeros is that?

2256 is not the right number because every bitcoin address has 296 private/public keys on average.

There are 2160 bitcoin addresses. 2160 = 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 or about 1.46x1048. 2160 is a much much much smaller number than 2256, but it is still an incredibly huge number.

For perspective, 2160 is approximately 3 times the number of water molecules on the earth. You are three times more likely to pick a specific molecule of water somewhere on the earth than you are to duplicate a specific bitcoin address (assuming that bitcoin address generation is completely random).