public int getSigOpCount ( ) throws ScriptException { int sigOps = 0 ; for ( TransactionInput input : inputs ) sigOps += Script . getSigOpCount ( input . getScriptBytes ( ) ) ; for ( TransactionOutput output : outputs ) sigOps += Script . getSigOpCount ( output . getScriptBytes ( ) ) ; return sigOps ; }
Gets the count of regular SigOps in this transactions