Friday, 17 August 2018

Specification for Re-enabling old Opcodes - November 2018 Upgrade

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.

submitted by /u/danconnolly
[link] [comments]

source https://www.reddit.com/r/btc/comments/980d0s/specification_for_reenabling_old_opcodes_november/

No comments:

Post a Comment