public static enum TransactionConfidence.Source extends 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(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(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 © 2016. All rights reserved.