Page MenuHomePhabricator

Explode disabled opcode if into a switch
ClosedPublic

Authored by deadalnix on Mar 17 2018, 01:26.

Details

Summary

This ensures that they can be manipulated one by one more easily.

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
opcoderefac
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2128
Build 2400: Bitcoin ABC Buildbot (legacy)
Build 2399: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 17 2018, 02:24
src/script/interpreter.cpp
336

We'll need another diff that splits this in two once the flag is actually checked; as they must still be disabled when the flag is off.

This revision was automatically updated to reflect the committed changes.
src/script/interpreter.cpp
336

Yes, it's just a matter of moving some case around.