<div dir="ltr"><div><div>The BIP147 reads:<br><p><i>Sigop cost</i> is defined. The cost of a sigop in traditional script is 4, while the cost of a sigop in witness program is 1.
</p>
<p>The new rule is total <i>sigop cost</i> ≤ 80,000. <br></p><p>But the code implements:<br></p>if (nSigOps + (nWitSigOps + 3) / 4 &gt; MAX_BLOCK_SIGOPS)<br></div><div> ... error....<br><br></div>Which is not the same.<br></div><br>For example:<br><div><div>nSigOps = 1<br>nWitSigOps =79999<br><br>Is not an error by BIP definition but it&#39;s an error by the implemented code.<br><br></div><div>Regards, Sergio.<br></div></div></div>