Bitcoin Forum
June 20, 2024, 11:44:41 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Are compressed and uncompressed addresses exchangeable ?  (Read 395 times)
hagie (OP)
Hero Member
*****
Offline Offline

Activity: 792
Merit: 501



View Profile
October 16, 2015, 08:48:41 AM
 #1

Hi all,

playing around with BTC Addresses I came to a point which I didn't understand.

I created a vanity address starting for example with 1BTC. The result was

Address: 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L
Privkey: 5JGp9bJDdLKy3MYmi8eaD4umJx22tBwSihPB6RyHycDvR5byT76

No Problem with that - I can import the private key in multibit and the 1BTC address appears. I can send and receiver btc to and from this address.

Now on an online wallet they only accept compressed private key. I used the wallet detail function on www.bitaddress.org and calculate the compressed private key :

Compressed priv. Key: KyEo6vNzjNJiMPhELYkqaGFtaDqZJwHJX3EsYyDTvrU2ktZRc7KT

I could import this key into the webwallet and it shows the compressed public key / address : 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk

Until now - since they both share the same private key I thought sending btc to 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L is the same as sending it to 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk but it looks like this is not the case (judging from blockchain.info)

Am I wrong here  ?

Thanks
Regars



shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
October 16, 2015, 08:54:03 AM
 #2

Hi all,

playing around with BTC Addresses I came to a point which I didn't understand.

I created a vanity address starting for example with 1BTC. The result was

Address: 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L
Privkey: 5JGp9bJDdLKy3MYmi8eaD4umJx22tBwSihPB6RyHycDvR5byT76

No Problem with that - I can import the private key in multibit and the 1BTC address appears. I can send and receiver btc to and from this address.

Now on an online wallet they only accept compressed private key. I used the wallet detail function on www.bitaddress.org and calculate the compressed private key :

Compressed priv. Key: KyEo6vNzjNJiMPhELYkqaGFtaDqZJwHJX3EsYyDTvrU2ktZRc7KT

I could import this key into the webwallet and it shows the compressed public key / address : 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk

Until now - since they both share the same private key I thought sending btc to 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L is the same as sending it to 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk but it looks like this is not the case (judging from blockchain.info)

Am I wrong here  ?

Thanks
Regars

You have one privat key, but two coresponding public keys. The compressed and the uncompressed one. Thus different data is hashed when calculating the address from the public key and the resulting address is different.

You should be able to spend inputs received on both addresses, but I would suggest to test that first on testnet or wait for a reply from someone that tested this.

Im not really here, its just your imagination.
hagie (OP)
Hero Member
*****
Offline Offline

Activity: 792
Merit: 501



View Profile
October 16, 2015, 09:04:17 AM
 #3

Ok .. until now I thought a compressed address is the same Address just converted and therefore exchangeable ...

Regards


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!