@Deprecated public void correctlySpends(Transaction txContainingThis,long scriptSigIndex,Script scriptPubKey) throws ScriptException {
  correctlySpends(txContainingThis,scriptSigIndex,scriptPubKey,ALL_VERIFY_FLAGS);
}

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