I found out that some transactions have strange scriptPubKey
in their outs. They only contain a hash and nothing more. An example can be seen in JSON-view of block 200639:
{
"value":"0.00000000",
"scriptPubKey":"7ce73474ecef1936fca45fe7835cca09d1a24f52526c189ab40d371b5f69f4a3"
}
The transaction is valid as the stack will only contain this hash which is not empty and thus evaluates to true
. This seems to be a way to save some data in transaction...
Does anyone know for what purpose such scripts may be used?