By Dr Craig Wright, as edited and published by his editors on craigwright.net.
OP Codes and the push to confuse.
A certain group of BTC Core developers have their (one day but not in my lifetime) sidechains that will enable OP_Codes that have been left broken in BTC (and which are working in BCH).
In this post I will pick on the lack of thought of some of these by demonstrating how you can create the same outcome without a new OP_Code.
Dup from Alt Stack
This copies a value to the Main from Alt stack leaving the Alt stack as it was.
[Image: description to follow]
SWAP Stack
Swaps the Main and Alt Stack.
[Image: description to follow]
We have now swapped the stack locations.
Dup TO ALT Stack
This copies to the Alt Stack while leaving a copy on the main stack. We do this as:
[Image: description to follow]
SWAP CAT
The command works as:
[Image: description to follow]
We can do this as follows in reverse as:
[Image: description to follow]
Using the following:
[Image: description to follow]
Good developers do not reinvent the wheel and sell it as if that makes them smart.
Basically, all that these commands allow is already there… if you think.
First published on craigwright.net on 7 June 2018. This copy was recovered from the Internet Archive snapshot of 1 March 2024. Republished on BSVSearch with Dr Wright's permission - about this archive.