<p>As a fun fact I'd like to add that, if you take the null string as the public key and hash it, you'll get the address <code>1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E</code>, which holds around 69.77 bitcoins. Unfortunately those are unspendable, as the address is generated probably by some software bug and doesn't likely have any private key associated with it.<br><br></p>

<p>Source: <a href="https://eprint.iacr.org/2013/734.pdf" rel="nofollow">Elliptic Curve Cryptography in Practice, page 11</a></p>

CC BY-SA 3.0
2014-11-08T06:32:50.530Z
That is cool, thanks for sharing that. Since a private key must be an integer >1 it'd seem many have assumed themselves out of Bitcoin! On a related note, /r/Buttcoin is burning BTC tips (the why doesn't concern me; politics) using 1BitcoinEaterAddressDontSendf59kuE, a valid Base58Check address -- https://blockchain.info/address/1BitcoinEaterAddressDontSendf59kuE
Wizard Of Ozzie
CC BY-SA 4.0
2020-06-19T19:40:01.807Z
Private from null: 5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss - 661 transactions.
pbies
CC BY-SA 3.0
2014-11-07T18:51:34.207Z
2014-11-07T18:51:34.207Z
Bitswazsky
<p>A public key corresponds to a private key, which is just a very large integer. </p>

<p>As far as the network is concerned, anyone who has the private key for funds at an address can spend them. The only proof of ownership is that because of how public key cryptography works, <code>private key ==&gt; public key/public address</code> is fine, the reverse cannot be calculated.</p>

<p>If you hold the private key for funds at an address and by some random fluke a client gives out the same private key, you can spend the coins. Assuming random numbers though, this will never happen</p>

CC BY-SA 3.0
2014-11-05T03:27:40.940Z
2014-11-05T03:27:40.940Z
Wizard Of Ozzie
<p>The network can't tell the difference.  In the astronomically unlikely event that two different people have private keys whose public keys hash to the same public address, then both of them are able to spend any coins sent to that address, first-come-first-served.</p>

<p>To illustrate how unlikely this is: suppose every satoshi of every bitcoin ever to be generated was sent to its own unique private keys.  The probability that among those keys there could be two that would correspond to the same address is roughly one in 100 quintillion.</p>

<p>Of course the probability is only "astronomically unlikely" if the private keys are truly randomly generated.  If they are not, then there can be better chance of someone else being able to guess the private key.  Anyone who does so can spend coins sent to that address.  That was what happened with <a href="https://bitcoin.org/en/alert/2013-08-11-android" rel="nofollow">this vulnerability</a>.</p>

<p>A fun activity, analogous to "leave a dollar bill on the street and see who picks it up", is to make yourself a private key that is a very small integer.  Then send some trivial sum of money to the corresponding address.  There seem to be a number of people watching such addresses so you can see who manages to grab it first (by spending it to a more secure address they control).</p>

CC BY-SA 3.0
2014-11-06T00:32:12.990Z
Was looking for solid numbers for my answer; those are long odds
Wizard Of Ozzie
CC BY-SA 3.0
2014-11-05T03:09:15.833Z
2014-11-07T23:25:47.470Z
2014-11-07T23:25:47.470Z
Nate Eldredge
<p>I understand that a bitcoin address is a combination or more than one kind of encryption and entropy, and I also understand how improbable it is that the same address will get generated at the same time.</p>

<p>Although the private keys will be different, this doesn't alleviate my concerns.</p>

<p>If person A sends a payer their public address, how will the network know not to send it to the person A and person B's address</p>

<p>Maybe I am just having a lapse in judgement here, and that the public key must be derived from the private key and hash160 and therefore a public address cannot be generated without the same private key</p>

CC BY-SA 3.0
2014-11-05T03:09:45.650Z
possible duplicate of [What would happen if two public keys had the same Base58 hash?](http://bitcoin.stackexchange.com/questions/5747/what-would-happen-if-two-public-keys-had-the-same-base58-hash)
Nate Eldredge
CC BY-SA 3.0
2014-11-05T08:11:30.497Z
You claim you already understand this, "*I also understand how improbable it is that the same address will get generated at the same time.*" How will the network know what to do if three asteroids hit the Earth at the same time?
David Schwartz
CC BY-SA 3.0
2014-11-08T10:16:16.787Z
@David exactly :) If CQM says it doesn't alleviate his concerns, apparently he *doesn't* understand just how incredibly, astronomically improbable it is.
Maǳi Koǌo
<transactions><private-key><public-key><hash>
two people with same PUBLIC address, how will people/network know how to deliver bitcoin
CQM
# two people with same PUBLIC address, how will people/network know how to deliver bitcoin

(Asked by: username_0 on 2014-11-05)

I understand that a bitcoin address is a combination or more than one kind of encryption and entropy, and I also understand how improbable it is that the same address will get generated at the same time.

Although the private keys will be different, this doesn't alleviate my concerns.

If person A sends a payer their public address, how will the network know not to send it to the person A and person B's address

Maybe I am just having a lapse in judgement here, and that the public key must be derived from the private key and hash160 and therefore a public address cannot be generated without the same private key

**Tags:** transactions, private-key, public-key, hash

> **Comments:**
> **username_1**: possible duplicate of [What would happen if two public keys had the same Base58 hash?](http://bitcoin.stackexchange.com/questions/5747/what-would-happen-if-two-public-keys-had-the-same-base58-hash)  
> **username_2**: You claim you already understand this, "*I also understand how improbable it is that the same address will get generated at the same time.*" How will the network know what to do if three asteroids hit the Earth at the same time?  
> **username_3**: @username_2 exactly :) If CQM says it doesn't alleviate his concerns, apparently he *doesn't* understand just how incredibly, astronomically improbable it is.  

---

## 3 answers

### Answer by username_1 on 2014-11-05. Score: 4 | Accepted answer

The network can't tell the difference. In the astronomically unlikely event that two different people have private keys whose public keys hash to the same public address, then both of them are able to spend any coins sent to that address, first-come-first-served.

To illustrate how unlikely this is: suppose every satoshi of every bitcoin ever to be generated was sent to its own unique private keys. The probability that among those keys there could be two that would correspond to the same address is roughly one in 100 quintillion.

Of course the probability is only "astronomically unlikely" if the private keys are truly randomly generated. If they are not, then there can be better chance of someone else being able to guess the private key. Anyone who does so can spend coins sent to that address. That was what happened with [this vulnerability](https://bitcoin.org/en/alert/2013-08-11-android).

A fun activity, analogous to "leave a dollar bill on the street and see who picks it up", is to make yourself a private key that is a very small integer. Then send some trivial sum of money to the corresponding address. There seem to be a number of people watching such addresses so you can see who manages to grab it first (by spending it to a more secure address they control).

> **Comments:**
> **username_5**: Was looking for solid numbers for my answer; those are long odds  

---

### Answer by username_4 on 2014-11-07. Score: 2

As a fun fact I'd like to add that, if you take the null string as the public key and hash it, you'll get the address `1HT7xU2Ngenf7D4yocz2SAcnNLW7rK8d4E`, which holds around 69.77 bitcoins. Unfortunately those are unspendable, as the address is generated probably by some software bug and doesn't likely have any private key associated with it.

Source: [Elliptic Curve Cryptography in Practice, page 11](https://eprint.iacr.org/2013/734.pdf)

> **Comments:**
> **username_5**: That is cool, thanks for sharing that. Since a private key must be an integer >1 it'd seem many have assumed themselves out of Bitcoin! On a related note, /r/Buttcoin is burning BTC tips (the why doesn't concern me; politics) using 1BitcoinEaterAddressDontSendf59kuE, a valid Base58Check address -- https://blockchain.info/address/1BitcoinEaterAddressDontSendf59kuE  
> **username_6**: Private from null: 5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss - 661 transactions.  

---

### Answer by username_5 on 2014-11-05. Score: 0

A public key corresponds to a private key, which is just a very large integer.

As far as the network is concerned, anyone who has the private key for funds at an address can spend them. The only proof of ownership is that because of how public key cryptography works, `private key ==> public key/public address` is fine, the reverse cannot be calculated.

If you hold the private key for funds at an address and by some random fluke a client gives out the same private key, you can spend the coins. Assuming random numbers though, this will never happen


---

