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.
Modifier and Type | Interface and Description |
---|---|
static interface |
RiskAnalysis.Analyzer |
static class |
RiskAnalysis.Result |
Modifier and Type | Method and Description |
---|---|
RiskAnalysis.Result |
analyze() |
RiskAnalysis.Result analyze()
Copyright © 2016. All rights reserved.