docs: public Sha256Hash hashForSignature(int inputIndex, byte[] redeemScript,
                                                      SigHash type, boolean anyoneCanPay) {
          byte sigHashType = (byte) TransactionSignature.calcSigHashValue(type, anyoneCanPay);
          return hashForSignature(inputIndex, redeemScript, sigHashType);
      }