Hi
i have some questions concerning BTC-addresses.
when i generate a new address e.g. with multiunit HD.
Multi
bit HD?
- my wallets knows all the addresses that have been generated yet?
No.
- are theses addresses saved in the blockchain?
No.
- as far as i know the address is saved in the blockchain when it was used. you can generate an address offline, right?
Yes, used addresses are stored in the blockchain (to some extend) and yes you can generate an address offline. In fact thats the normal way to do it.
- if two persons generate the same address offline and then start to use it. what will happen?
If two persons generated the same address they share the funds. Each of them can spend everything.
- is it possible to guess a specific address? and when my guess is correct and this wallet is not encrypted.
thanks for answers.
Yes, is possible to "guess" a private key to an address and be able to spend someone elses funds. But its in the realm humans usually call impossible. Its the same realm where all the air molecules collect into a corner of your room and you die.
I think you assume somehow that its checked whether or not an address was already generated. Thats not the case. There are so many possible private keys (2
256) for so many possible different addresses (2
160) that I can sit at home generating a 36 million private keys and addresses per second and still cant find one that has funds on them. Everyone on earth could do this and the chances are still so small you are more likely to hit the lotto jackpot several weeks in a row.