Bitcoin
Transaction – What are examples of usage of script pseudo-words?
On bitcoin.it you can see:
doctor word
These words are used internally to support transaction matching. It is not valid if used in an actual script.
word | Operation code | witch | explanation |
---|---|---|---|
OP_PUBKEYHASH | 253 | 0xfd | Indicates the public key hashed with OP_HASH160. |
OP_PUBKEY | 254 | 0xfe | Indicates a public key compatible with OP_CHECKSIG. |
OP_INVALIDOPCODE | 255 | 0xff | Matches any opcode that has not yet been assigned. |
What is transaction matching?
How can these codes be used in practice?