Author

Topic: compressed ad uncompressed adresses (Read 75 times)

legendary
Activity: 4354
Merit: 3260
January 09, 2022, 04:33:03 AM
#3
In simplest terms, a public key can have two forms: compressed and uncompressed. An address is a hash of a public key, so you can have two different addresses from the same private key, one is a hash of the compressed public key and the other is a hash of the uncompressed private key. They are distinct addresses and are not interchangeable.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
January 08, 2022, 11:10:52 PM
#2
That's certainly normal (since it's IanColeman's compression tool, it must be P2PKH).
Although both correspond to the same Private Key, Bitcoins aren't stored using the private key but through a "locking script" which is represented to you by an address.
So simply by knowing that the compressed and uncompressed addresses are different than each other explains why each has different balances because the bitcoins are locked using different scripts.

The HASH160 which is part of the locking script is derived from the public key.
Compressed and uncompressed public keys are different from each other (as you can seed in the tool) so both wont produce the same HASH160 result,
thus, different locking scripts for the compressed and uncompressed.
newbie
Activity: 22
Merit: 10
January 08, 2022, 09:08:11 PM
#1
Here is a dumb question :
when I look up my public address on Ian Colemans key compression site , the resulting addresses ( compressed and uncompressed ) yield different balances ,
where the uncompressed address has funds , and the compressed shows 0 balance
is this normal ?
Jump to: