public static enum Wallet.MissingSigsMode extends Enum<Wallet.MissingSigsMode>
| Enum Constant and Description |
|---|
THROW
If signature is missing,
TransactionSigner.MissingSignatureException
will be thrown for P2SH and ECKey.MissingPrivateKeyException for other tx types. |
USE_DUMMY_SIG
Missing signatures will be replaced by dummy sigs.
|
USE_OP_ZERO
Input script will have OP_0 instead of missing signatures
|
| Modifier and Type | Method and Description |
|---|---|
static Wallet.MissingSigsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Wallet.MissingSigsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Wallet.MissingSigsMode USE_OP_ZERO
public static final Wallet.MissingSigsMode USE_DUMMY_SIG
public static final Wallet.MissingSigsMode THROW
TransactionSigner.MissingSignatureException
will be thrown for P2SH and ECKey.MissingPrivateKeyException for other tx types.public static Wallet.MissingSigsMode[] values()
for (Wallet.MissingSigsMode c : Wallet.MissingSigsMode.values()) System.out.println(c);
public static Wallet.MissingSigsMode 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 © 2015. All rights reserved.