- All Known Implementing Classes:
- Enclosing class:
public static interface TransactionConfidence.Listener
A confidence listener is informed when the level of
TransactionConfidenceis updated by something, like for example a
Wallet. You can add listeners to update your user interface or manage your order tracking system when confidence levels pass a certain threshold. Note that confidence can go down as well as up. For example, this can happen if somebody is doing a double-spend attack against you. Whilst it's unlikely, your code should be able to handle that in order to be correct.
During listener execution, it's safe to remove the current listener but not others.
Nested Class Summary
Nested Classes Modifier and Type Interface Description
TransactionConfidence.Listener.ChangeReasonAn enum that describes why a transaction confidence listener is being invoked (i.e.