public static enum Script.VerifyFlag extends java.lang.Enum<Script.VerifyFlag>
Script.correctlySpends(Transaction, int, TransactionWitness, Coin, Script, Set)
.
Note currently only P2SH, DERSIG and NULLDUMMY are actually supported.Enum Constant and Description |
---|
CHECKLOCKTIMEVERIFY |
CHECKSEQUENCEVERIFY |
CLEANSTACK |
DERSIG |
DISCOURAGE_UPGRADABLE_NOPS |
LOW_S |
MINIMALDATA |
NULLDUMMY |
P2SH |
SIGPUSHONLY |
STRICTENC |
Modifier and Type | Method and Description |
---|---|
static Script.VerifyFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Script.VerifyFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Script.VerifyFlag P2SH
public static final Script.VerifyFlag STRICTENC
public static final Script.VerifyFlag DERSIG
public static final Script.VerifyFlag LOW_S
public static final Script.VerifyFlag NULLDUMMY
public static final Script.VerifyFlag SIGPUSHONLY
public static final Script.VerifyFlag MINIMALDATA
public static final Script.VerifyFlag DISCOURAGE_UPGRADABLE_NOPS
public static final Script.VerifyFlag CLEANSTACK
public static final Script.VerifyFlag CHECKLOCKTIMEVERIFY
public static final Script.VerifyFlag CHECKSEQUENCEVERIFY
public static Script.VerifyFlag[] values()
for (Script.VerifyFlag c : Script.VerifyFlag.values()) System.out.println(c);
public static Script.VerifyFlag 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