public enum MultisigVersion extends java.lang.Enum<MultisigVersion>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
codeHash() |
Script.HashType |
hashType() |
static MultisigVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultisigVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultisigVersion Legacy
public static final MultisigVersion V2
public static MultisigVersion[] values()
for (MultisigVersion c : MultisigVersion.values()) System.out.println(c);
public static MultisigVersion 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[] codeHash()
public Script.HashType hashType()