question: @ Deprecated public void correctlySpends ( Transaction txContainingThis , long scriptSigIndex , Script scriptPubKey ) throws ScriptException { correctlySpends ( txContainingThis , scriptSigIndex , scriptPubKey , ALL_VERIFY_FLAGS ) ; }
target:  Verifies that this script (interpreted as a scriptSig) correctly spends the given scriptPubKey, enabling all validation rules.