Bitcoin Forum
June 06, 2024, 08:16:51 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: scriptsig question  (Read 978 times)
anon4250158 (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 256


View Profile
August 01, 2014, 11:08:45 AM
 #1

I was told some time ago that you can tell from the scriptsig whether an address is compressed or uncompressed.  For the following two situations, how would I find this out?

1. BTC transferred in and out (example: https://blockchain.info/address/1HZtQfmY99awDqSmAvBa7vuMpUMhu3vB8c)

2. BTC transferred in, but never out (example: https://blockchain.info/address/1AdU3EcimMFN7JLJtceSyrmFYE3gF5ZnGj)


Basically I don't understand how to read the scriptsig to get this info.  If someone could show me with those example addresses, I would appreciate it.
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
August 01, 2014, 11:36:15 AM
 #2

1) have a look here:
https://blockchain.info/en/tx/97775c5dedf645c710deb068cc20930945d26589a359c3c88ce1c046711600aa

this transaction is "from 1HZtQfmY99awDqSmAvBa7vuMpUMhu3vB8c"
scroll down to "Input Scripts"
second line is looong line started with 04c25f8b394....
this is public key for address 1HZtQfmY99awDqSmAvBa7vuMpUMhu3vB8c
it starts with 04 - so this is "classic"/"uncompressed" key
(02 or 03 and shorter line will mean "compressed" public key, any other symbols - we are in Wonderland)

2) there are no outgoing transactions from 1AdU3EcimMFN7JLJtceSyrmFYE3gF5ZnGj
we can not say anything whether it "compressed" or "classic" (but the owner can)
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!