<p>Yes, it will.</p>

<p>To "receive" money one should have a private key corresponding to bitcoin address, nothing more. The keys do not bear any information related to their creation date.</p>

<p>Intrinsically, bitcoin protocol does not have such thing as "balance". Blockchain contains only the list of transactions. If you have correct keypair (with public key hashing to destination address) and the transaction output has not already been spent, then you can send this money somewhere. Your "balance" is just a sum of all transaction outputs you can spend. When importing new private key in original bitcoin client, it performs blockchain rescan to find out whether this new address has received any coins previously.</p>

CC BY-SA 3.0
2012-12-20T23:36:41.413Z
Is that scalable? Following from my comment in the question, in a more reasonable timeframe, say I send coins now and the address is created after billions of blocks. Will the entire blockchain be scanned?
SparrowG
CC BY-SA 3.0
2012-12-21T05:16:59.593Z
@SparrowG By default it will (in `importprivkey` RPC there is a switch to disable scanning, since currently it takes ~2 minutes). Also, there is "ultraprune" version of client, which stores not entire blockchain but only the list of unspent tranaction outputs, which makes such scanning pretty fast.
aland
CC BY-SA 3.0
2012-12-20T20:03:34.350Z
2012-12-20T20:14:39.947Z
2012-12-20T20:14:39.947Z
aland
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="https://bitcoin.stackexchange.com/questions/5747/what-would-happen-if-two-public-keys-had-the-same-base58-hash">What would happen if two public keys had the same Base58 hash?</a>  </p>
</blockquote>



<p>A follow up from <a href="https://bitcoin.stackexchange.com/questions/194/what-happens-if-i-mistype-the-address-when-making-a-payment">What happens if I mistype the address when making a payment?</a></p>

<p>Suppose I accidentally (or intentionally)send some money to a valid wallet address that no one owns currently. Now, at a later point in time, when someone creates an account which happen to have the same address to which I sent, will the wallet get those coins?</p>

CC BY-SA 3.0
2012-12-20T20:18:54.037Z
See this answer to understand the likelihood of this actually happening: http://bitcoin.stackexchange.com/a/3205/516
Highly Irregular
CC BY-SA 3.0
2012-12-20T23:33:13.497Z
No, that's not the spirit of this question. I was wondering how the "balance" is computed. For instance, suppose I send a few bitcoins to every valid key I generate. Then after a billion years, when the wallet is actually created, will the owner be able to spend those coins?
SparrowG
CC BY-SA 3.0
2012-12-22T19:09:44.130Z
Could someone tell why the negative votes?
SparrowG
CC BY-SA 3.0
2012-12-22T19:54:04.550Z
Though I didn't downvote it myself, it's probably because it's very similar to several other questions considering the implications of a hash collision.
Highly Irregular
<transactions><wallet>
Can a new wallet receive money that was sent to it before the wallet was created?
SparrowG
# Can a new wallet receive money that was sent to it before the wallet was created?

(Asked by: username_0 on 2012-12-20)

> **Possible Duplicate:**  
> [What would happen if two public keys had the same Base58 hash?](https://bitcoin.stackexchange.com/questions/5747/what-would-happen-if-two-public-keys-had-the-same-base58-hash)

A follow up from [What happens if I mistype the address when making a payment?](https://bitcoin.stackexchange.com/questions/194/what-happens-if-i-mistype-the-address-when-making-a-payment)

Suppose I accidentally (or intentionally)send some money to a valid wallet address that no one owns currently. Now, at a later point in time, when someone creates an account which happen to have the same address to which I sent, will the wallet get those coins?

**Tags:** transactions, wallet

> **Comments:**
> **username_1**: See this answer to understand the likelihood of this actually happening: http://bitcoin.stackexchange.com/a/3205/516  
> **username_0**: No, that's not the spirit of this question. I was wondering how the "balance" is computed. For instance, suppose I send a few bitcoins to every valid key I generate. Then after a billion years, when the wallet is actually created, will the owner be able to spend those coins?  
> **username_0**: Could someone tell why the negative votes?  
> **username_1**: Though I didn't downvote it myself, it's probably because it's very similar to several other questions considering the implications of a hash collision.  

---

## 1 answers

### Answer by username_2 on 2012-12-20. Score: 3 | Accepted answer

Yes, it will.

To "receive" money one should have a private key corresponding to bitcoin address, nothing more. The keys do not bear any information related to their creation date.

Intrinsically, bitcoin protocol does not have such thing as "balance". Blockchain contains only the list of transactions. If you have correct keypair (with public key hashing to destination address) and the transaction output has not already been spent, then you can send this money somewhere. Your "balance" is just a sum of all transaction outputs you can spend. When importing new private key in original bitcoin client, it performs blockchain rescan to find out whether this new address has received any coins previously.

> **Comments:**
> **username_0**: Is that scalable? Following from my comment in the question, in a more reasonable timeframe, say I send coins now and the address is created after billions of blocks. Will the entire blockchain be scanned?  
> **username_2**: @username_0 By default it will (in `importprivkey` RPC there is a switch to disable scanning, since currently it takes ~2 minutes). Also, there is "ultraprune" version of client, which stores not entire blockchain but only the list of unspent tranaction outputs, which makes such scanning pretty fast.  

---

