public static enum TransactionConfidence.Source extends java.lang.Enum<TransactionConfidence.Source>
Enum Constant and Description |
---|
NETWORK
We got this transaction from a network peer.
|
SELF
This transaction was created by our own wallet, so we know it's not a double spend.
|
UNKNOWN
We don't know where the transaction came from.
|
Modifier and Type | Method and Description |
---|---|
static TransactionConfidence.Source |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionConfidence.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionConfidence.Source UNKNOWN
public static final TransactionConfidence.Source NETWORK
public static final TransactionConfidence.Source SELF
public static TransactionConfidence.Source[] values()
for (TransactionConfidence.Source c : TransactionConfidence.Source.values()) System.out.println(c);
public static TransactionConfidence.Source valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null