Interface TransactionSelectionResult.Status
- Enclosing class:
TransactionSelectionResult
protected static interface TransactionSelectionResult.Status
Represent the status of a transaction selection result. Plugin can extend this to implement its
own statuses.
-
Method Summary
-
Method Details
-
stop
boolean stop()Should the selection process be stopped?- Returns:
- true if the selection process needs to be stopped
-
discard
boolean discard()Should the current transaction be removed from the txpool?- Returns:
- yes if the transaction should be removed from the txpool
-
penalize
boolean penalize()Should the score of this transaction be decremented?- Returns:
- yes if the score of this transaction needs to be decremented
-
name
-