Author

Topic: Question to 0x20 Opcode and script for transaction in early blocks (2011/2012) (Read 582 times)

sr. member
Activity: 378
Merit: 251
Yea, I had been reading about this. It would start with 0x6a which is OP_RETURN followed by the hashed data.
Thank you. I guess I will see more strange things during the parsing process Cheesy
legendary
Activity: 2053
Merit: 1356
aka tonikt
I can't say how it was used there at that time.

But you should know that there are (and have been) many undocumented blockchain applications out there.
It's simply impossible to know a purpose of every single script in the blockchain.

However these days such kind of scripts would rather start with 0x6a opcode - then followed by 0x20 and then by 32 bytes of the value, usually being a hash of some data.
sr. member
Activity: 378
Merit: 251
But is it not clear why they had been used in that period of time?

I could not find any information about it and my guess was that someone had been testing scripts, but I found like 10 of them. That's the reason why I started to wonder what was happening there.

Hmm, I guess I will just take it as it is. If someone has an idea, please let me know Smiley I am curious.
legendary
Activity: 2053
Merit: 1356
aka tonikt
Yes, these are scripts.

The "opcode" 0x20 is saying to push the next 32 bytes of the script into the stack.

https://en.bitcoin.it/wiki/Script#Constants

The purpose od using a "non-standard" scripts can be different - depends on a specific application.
sr. member
Activity: 378
Merit: 251
Hey, I am having a question about the 0x20 opcode in early blocks. I am currently working on a blockchain parser and I found following output scripts. Here is how they look:
Code:
Script  (Txid)
206fe77e9457c40ca1e98af516c073898e600facd3a6b296d1b7a3be257e01289d   (c5b6be528c2ff4673bfd9ff4de3d09ae67306189d17530648dd9e6ad249ee8c7)
202ddf42e08eed1e23903da1f9017e417075603428267bac45fc01c28a3c894588  (34c218c9da7bdfebbbcb59b23dc761ffbefade525828f84a0ee7d836a21c7868)

This are just 2 but there are more. Blockchain.info marks them as Strange and it seems to me that they don't get the btc.
But why these script? What is their purpose?

Thanks for hints and information.
Jump to: