Bitcoin Forum
June 21, 2024, 05:14:18 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: compressed/uncompressed public key addresses  (Read 3017 times)
warut (OP)
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
October 22, 2013, 08:40:06 PM
 #1

How can I tell if an address is created with a compressed or uncompressed public key?
Of course, if I know its private key, I can distinguish with the prefix (K/L or 5).
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
October 22, 2013, 08:58:59 PM
 #2

How can I tell if an address is created with a compressed or uncompressed public key?
Of course, if I know its private key, I can distinguish with the prefix (K/L or 5).

You can't tell the pubkey knowing only the address, so AFAIK you can't figure this out.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3430
Merit: 4669



View Profile
October 22, 2013, 10:50:46 PM
 #3

How can I tell if an address is created with a compressed or uncompressed public key?
Of course, if I know its private key, I can distinguish with the prefix (K/L or 5).

For what purpose would you want to know?
warut (OP)
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
October 23, 2013, 12:45:29 AM
 #4

How can I tell if an address is created with a compressed or uncompressed public key?
Of course, if I know its private key, I can distinguish with the prefix (K/L or 5).

You can't tell the pubkey knowing only the address, so AFAIK you can't figure this out.

Thanks, dserrano5. That's what I've expected.
warut (OP)
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
October 23, 2013, 12:56:50 AM
 #5

How can I tell if an address is created with a compressed or uncompressed public key?
Of course, if I know its private key, I can distinguish with the prefix (K/L or 5).

For what purpose would you want to know?

I have both types of addresses in my wallet, but I now prefer to use the compressed ones because of the free faucets.
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
October 23, 2013, 06:26:22 AM
 #6

I have both types of addresses in my wallet, but I now prefer to use the compressed ones because of the free faucets.

You should always be using new addresses anyway, and recent software doesn't create uncompressed keys anymore so don't worry about this. The fact that some uncompressed keys lie in your wallet isn't any problem at all. The "problem" (increased blockchain usage) happens only when spending from those keys, but you won't do that again as long as you receive payments on new, compressed ones.
warut (OP)
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
October 23, 2013, 07:06:43 AM
 #7

OK, thanks again, dserrano5.
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
October 23, 2013, 07:24:36 AM
 #8

You can tell by analyzing the public key in the block chain after it has spent something. Compressed keys are shorter. Uncompressed keys are longer. Block Explorer might show the public key I think.

warut (OP)
Member
**
Offline Offline

Activity: 79
Merit: 10


View Profile
October 23, 2013, 08:19:57 AM
 #9

You can tell by analyzing the public key in the block chain after it has spent something. Compressed keys are shorter. Uncompressed keys are longer. Block Explorer might show the public key I think.

Yea, I realized that too after posting the question.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1255


May Bitcoin be touched by his Noodly Appendage


View Profile
October 23, 2013, 10:21:32 AM
 #10

Dump your wallet contents, the public keys are inside it

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
October 24, 2013, 01:07:39 AM
 #11

I think one concern is, you can't tell if you don't own it and it has not yet spent. Since the public key will not be in the blockchain. You can only tell, if it has spent any amount.

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!