Post
Topic
Board Off-topic
Re: [ARCHIVE] Bitcoin challenge discusion
by
itod
on 30/09/2019, 17:23:14 UTC
Actually this was my question. I'm with you that there are only 2^160 addresses, but almost 2^256 private keys. So there should a collision, because every private key could be converted to the address only in one posible way (if we are talking about the same format, like Legacy, Segwit, bech32)
When we have a private key and the address which was generated from the private key, so the x,y coordinates of the address are in the same group as the basis point. There also should be other private keys which lead to teh same address.

And I also very curious about the ability to sign with different private keys. Imagine that somebody found 2 (or may be more) different private keys to the same address. Is it possible to make outgoing transactions with the both keys or only with that one which was primarirly used? I guess that for Legace addresses it is possible. But for beech32 addresses only one unique private key should be used. Am i right?

Yes you are right, there are about 28 million private keys for every single Bitcoin address. Whichever of these 28 million keys you find, you can take the coins from that address. Problem is you can not find the single one of those private keys by chance, let alone the other ones that lead to the same address, so this is totally unimportant. We humans are very bad with large numbers, so 2^160 looks to us very different to 2^256, while in fact they are both so big that for all practical purposes there is no difference between them, that's why the Bitcoin address scheme is designed this way.