Author

Topic: P2SH/opcodes/burner addresses (Read 159 times)

newbie
Activity: 10
Merit: 0
August 04, 2018, 03:29:51 AM
#1
hi everybody.

am i right to assume, that by issueing

Code:
$WHATEVER-cli decodescript 0100010188

you will essentially get a valid burner p2sh address for not only bitcoin but probably any p2sh supporting coin?

The results from bitcoin-cli:
Code:
# bitcoin-cli decodescript 0100010188
{
  "asm": "0 1 OP_EQUALVERIFY",
  "type": "nonstandard",
  "p2sh": "38e6tUuroVTeG5vSdoB3bBSa4AaKVJxzr2", <- see here
[...]
}

In order to be able to spend coins sent to that address one would have to
a) come up with a solution to '0 1 EQUALVERIFY' (how?)
or
b) do a (probably not well-received) hardfork implementing a special rule to allow '0 1 OP_EQUALVERIFY' to be evaluated to 1.

Is that correct? Can somebody enlighten me?


If anybody reading this would like to play around with opcodes and is a bloody beginner like i am, https://siminchen.github.io/bitcoinIDE/ is a great resource. Thank you, author of that.
Jump to: