Hence BIP 342 proposes to enable opcodes like OP_MOD, OP_DIV, OP_MUL is it possible to perform advanced math operations like EC point addition/multiplication in a script size of up to 10kB?


BIP 342 does not add any of these opcodes, and it is not possible to perform elliptic curve operations in it.

The only new/changed opcode semantics in BIP342 are:

  • Schnorr signatures instead of ECDSA.
  • OP_SUCCESSx opcodes for future extensibility
  • Unknown pubkey types for future extensibility.
  • Changes in resource accounting/limits.
  • Got it. One or more OP_SUCCESSx opcodes could potentially function as OP_MOD, OP_DIV, OP_MUL in a future soft fork right?
    – Brqoo
    Nov 6 '20 at 23:14
  • 1
    Yes, potentially. Nov 6 '20 at 23:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.