Пример #1
0
 public boolean isPendingTransactionRelevant(Transaction tx) throws ScriptException {
   return super.isPendingTransactionRelevant(tx)
       && (tx.getValueSentToMe(this).compareTo(MIN_VALUE) >= 0
           || tx.getValueSentFromMe(this).compareTo(BigInteger.ZERO) > 0);
 }
Пример #2
0
 @Override
 public boolean isTransactionRelevant(Transaction tx) {
   return super.isTransactionRelevant(tx)
       && (tx.getValueSentToMe(this).compareTo(MIN_VALUE) >= 0
           || tx.getValueSentFromMe(this).compareTo(BigInteger.ZERO) > 0);
 }