public static enum DefaultRiskAnalysis.RuleViolation extends Enum<DefaultRiskAnalysis.RuleViolation>
DefaultRiskAnalysis.isStandard(org.bitcoinj.core.Transaction)
.Enum Constant and Description |
---|
DUST |
NONE |
NONEMPTY_STACK |
SHORTEST_POSSIBLE_PUSHDATA |
VERSION |
Modifier and Type | Method and Description |
---|---|
static DefaultRiskAnalysis.RuleViolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultRiskAnalysis.RuleViolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultRiskAnalysis.RuleViolation NONE
public static final DefaultRiskAnalysis.RuleViolation VERSION
public static final DefaultRiskAnalysis.RuleViolation DUST
public static final DefaultRiskAnalysis.RuleViolation SHORTEST_POSSIBLE_PUSHDATA
public static final DefaultRiskAnalysis.RuleViolation NONEMPTY_STACK
public static DefaultRiskAnalysis.RuleViolation[] values()
for (DefaultRiskAnalysis.RuleViolation c : DefaultRiskAnalysis.RuleViolation.values()) System.out.println(c);
public static DefaultRiskAnalysis.RuleViolation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.