This will ensure we can use flags to tweak the way sigops are counted in the future. This is necessary for the activation of OP_CHECKDATASIG.
- Group Reviewers
- rSTAGING3eba1135b26f: Pass flags down to GetSigOpCount
rABC3eba1135b26f: Pass flags down to GetSigOpCount
Added test cases to ensure behavior changes as expected when the P2SH flags is flipped.