Implement O(1) OP_IF/NOTIF/ELSE/ENDIF logic
Backport of Bitcoin ABC D8836 and D8837. (See !1061 (merged) for associated benchmark.)
Test plan: ninja check-all
ON BOTH COMMITS
DO NOT SQUASH
Backport of Bitcoin ABC D8836 and D8837. (See !1061 (merged) for associated benchmark.)
Test plan: ninja check-all
ON BOTH COMMITS
DO NOT SQUASH