Interface RiskAnalysis

  • All Known Implementing Classes:

    public interface RiskAnalysis

    A RiskAnalysis represents an analysis of how likely it is that a transaction (and its dependencies) represents a possible double spending attack. The wallet will create these to decide whether or not to accept a pending transaction. Look at DefaultRiskAnalysis to see what is currently considered risky.

    The intention here is that implementing classes can expose more information and detail about the result, for app developers. The core code needs only to know whether it's OK or not.

    A factory interface is provided. The wallet will use this to analyze new pending transactions.