Why is OP_XOR disabled?

Are there any forks on which it has been enabled?

Are there any plans to enable it?

Perhaps this is the answer, still perhaps there is another reason for the bitwise logic functions being disabled...

  • 3
    I think the answer you linked does answer your question too. Jan 20, 2022 at 4:42

1 Answer 1


So far as I can tell:

OP_XOR is not implemented in BTC.

OP_XOR is implemented on BitcoinABC and subsequent forks of that (e.g. BCH, BSV), but P2SH has been depreciated on BSV:

P2SH – Pay to Script Hash (deprecated with the Genesis upgrade after Feb 4th 2020)

from wiki.bitcoinsv.io


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