0
There are many untypical Input script data in blockchain. What does it mean?
For example, transaction:
4A253F17E5F4B24B41F72A6AE46DD1BCB25F7F33769C2AA5D50C6A6A7CF9F76E (link)
has it's input script:
3046022100EE238CAD1E8AC7F14661760B1B1FB2CF171F41AFB31E3B59D3CED2284A1C2A71022100BEF7FB989CCFB00A65C009A77B46BC818D2E80458668F73DA0072966AAA28B620103B2ABE09A1C4E67C3EB9ACD5596452A5D785C6E5A772FBEA9A29CA95C15598EA6
When I trying to parse this raw data, the result is:
30
46
02
21
00EE238CAD1E8AC7F14661760B1B1FB2CF171F41AFB31E3B59D3CED2284A1C2A71 – Sig r
02
21
00BEF7FB989CCFB00A65C009A77B46BC818D2E80458668F73DA0072966AAA28B62 – Sig s
01
03
B2ABE09A1C4E67C3EB9ACD5596452A5D785C6E5A772FBEA9A29CA95C15598EA6 – Unknown data.
What is the unknown data? This is not a Public Key, but what is it?
P.S. I checked that this unknown data is not a part of public key (X coordinate of Public Key as I thinking). After calculating Y coordinate (on EC) of Public Key I get 9F203515694856269C76C797D8E8E784EBDB927B650705E348F6FBA07DC56FAF. After I check the signature (Sig) with this:
Public Key = B2ABE09A1C4E67C3EB9ACD5596452A5D785C6E5A772FBEA9A29CA95C15598EA6, 9F203515694856269C76C797D8E8E784EBDB927B650705E348F6FBA07DC56FAF
Transaction hash for this Sig = 59E4367A829551DE94594777789B9274BFBDAC9F66550B02B85639945F21BE3A.
Then I calculate x and y from Public Key, Hash and generator point G. But x does not match the Sig r from raw data. So this way did not working.
Yeah, he's looking at already disassembled data. Not at the full script in hex. – Pieter Wuille – 2017-04-01T02:05:22.663
The public key is a point wich has two 32b numbers, but this unknown data has only one number. There is no mistake, because I look at this data on the block explorer sites and it's the same as in my question. – D L – 2017-04-01T11:03:02.590
@Denis This is a compressed key, which is a single 32b number and a single bit. See https://bitcoin.org/en/glossary/compressed-public-key and http://bitcoin.stackexchange.com/questions/3059/what-is-a-compressed-bitcoin-key
– Nick ODell – 2017-04-01T17:40:56.353@NickODell as I understand compressed key is the X coordinate of uncompressed key? – D L – 2017-04-01T18:03:17.217
@Denis Yeah, that's right. See http://davidederosa.com/basic-blockchain-programming/elliptic-curve-keys/ for how to compress it.
– Nick ODell – 2017-04-01T18:04:58.710