public InputValidationResult[] ValidateInputs() { var inputsResult = new InputValidationResult[Transaction.Inputs.Count]; for (int i = 0; i < Transaction.Inputs.Count; i++) { inputsResult[i] = ValidateInput(i); } return(inputsResult); }
public bool TryValidateInput(int index, out InputValidationResult result) { result = ValidateInput(index); return(result.Error is null); }