The specification for the opcodes that we propose to re-enable in the November 2018 upgrade are here. This specification was shared previously with the OpCodes working group and discussed.
The specification re-enables the opcodes OP_MUL, OP_INVERT, OP_LSHIFT, and OP_RSHIFT. It originally also include OP_2MUL and OP_2DIV, however after consultation with the BCH dev community these were removed because they can be easily reproduced by the combination "2 OP_MUL" or "2 OP_DIV".
Examples of the code that implements these are here: OP_MUL, OP_INVERT, OP_LSHIFT & OP_RSHIFT.
This specification was produced in Google Docs format for its comment features. It will be rendered in Markdown and submitted to the bitcoincashorg repo soon.
I look forward to any comments on this specification.
[link] [comments]
source https://www.reddit.com/r/btc/comments/980d0s/specification_for_reenabling_old_opcodes_november/
No comments:
Post a Comment