This adds back in a simplified version of CScript::GetSigOpCount (originally removed in D6101), but keeps it separate in the function CountScriptSigOps.
The function and Dogecoin's GetSigOpCount are identical in behavior, and OP_CHECKDATASIG(VERIFY) don't count as SigOps to avoid a fork.
This adds back in a simplified version of
CScript::GetSigOpCount
(originally removed in D6101), but keeps it separate in the functionCountScriptSigOps
.The function and Dogecoin's GetSigOpCount are identical in behavior, and OP_CHECKDATASIG(VERIFY) don't count as SigOps to avoid a fork.