@Override
  public boolean equals(final Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    final TransactionSelectionResult that = (TransactionSelectionResult) o;
    return status == that.status && Objects.equals(maybeInvalidReason, that.maybeInvalidReason);
  }
Optionally return the reason why the transaction is invalid if present

@return an optional with the invalid reason
plugin-api/src/main/java/org/hyperledger/besu/plugin/data/TransactionSelectionResult.java