public static enum Block.VerifyFlag extends java.lang.Enum<Block.VerifyFlag>
Enum Constant and Description |
---|
HEIGHT_IN_COINBASE
Check that block height is in coinbase transaction (BIP 34).
|
Modifier and Type | Method and Description |
---|---|
static Block.VerifyFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Block.VerifyFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Block.VerifyFlag HEIGHT_IN_COINBASE
public static Block.VerifyFlag[] values()
for (Block.VerifyFlag c : Block.VerifyFlag.values()) System.out.println(c);
public static Block.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