Skip to content

Instantly share code, notes, and snippets.

@onokatio
Last active December 24, 2017 00:35
Show Gist options
  • Save onokatio/975247c4eaddb977b2f748d3bf3adffa to your computer and use it in GitHub Desktop.
Save onokatio/975247c4eaddb977b2f748d3bf3adffa to your computer and use it in GitHub Desktop.
BIP 0012 (OP_EVAL) 【任意の値をScriptとして実行できる】 ref: https://qiita.com/onokatio/items/4eafe6b26cf6820de945
DUP HASH160 {20-byte-hash-value} EQUALVERIFY OP_EVAL
...signatures... {任意の値=変換されたScriptの命令}
scriptSig: {OP_11を変換した値}
scriptPubKey: OP_EVAL OP_11 OP_EQUAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment