public class MissingSigResolutionSigner extends java.lang.Object implements TransactionSigner
Wallet.MissingSigsMode
.
If missingSigsMode is USE_OP_ZERO this signer does nothing assuming missing signatures are already presented in
scriptSigs as OP_0.
In MissingSigsMode.THROW mode this signer will throw an exception. It would be MissingSignatureException
for P2SH or MissingPrivateKeyException for other transaction types.TransactionSigner.MissingSignatureException, TransactionSigner.ProposedTransaction
Constructor and Description |
---|
MissingSigResolutionSigner() |
MissingSigResolutionSigner(Wallet.MissingSigsMode missingSigsMode) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReady()
Returns true if this signer is ready to be used.
|
boolean |
signInputs(TransactionSigner.ProposedTransaction propTx,
KeyBag keyBag)
Signs given transaction's inputs.
|
public MissingSigResolutionSigner()
public MissingSigResolutionSigner(Wallet.MissingSigsMode missingSigsMode)
public boolean isReady()
TransactionSigner
isReady
in interface TransactionSigner
public boolean signInputs(TransactionSigner.ProposedTransaction propTx, KeyBag keyBag)
TransactionSigner
signInputs
in interface TransactionSigner