public static enum Transaction.SigHash extends java.lang.Enum<Transaction.SigHash>
Enum Constant and Description |
---|
ALL |
ANYONECANPAY |
ANYONECANPAY_ALL |
ANYONECANPAY_NONE |
ANYONECANPAY_SINGLE |
NONE |
SINGLE |
UNSET |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static Transaction.SigHash |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.SigHash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.SigHash ALL
public static final Transaction.SigHash NONE
public static final Transaction.SigHash SINGLE
public static final Transaction.SigHash ANYONECANPAY
public static final Transaction.SigHash ANYONECANPAY_ALL
public static final Transaction.SigHash ANYONECANPAY_NONE
public static final Transaction.SigHash ANYONECANPAY_SINGLE
public static final Transaction.SigHash UNSET
public static Transaction.SigHash[] values()
for (Transaction.SigHash c : Transaction.SigHash.values()) System.out.println(c);
public static Transaction.SigHash 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 nullpublic byte byteValue()