public interface ScriptSigner
TransactionSigner.| Modifier and Type | Method and Description |
|---|---|
boolean |
signTransaction(Transaction transaction,
ScriptGroup scriptGroup,
Context context)
Sign the transaction for the script.
|
boolean signTransaction(Transaction transaction, ScriptGroup scriptGroup, Context context)
TransactionSigner
for each context and each matched script group.transaction - The transaction to be signed.scriptGroup - TransactionSigner selects the corresponding ScriptSigner for each script group.
This selection is based on the registered ScriptSigner's provided script type and hash.context - This is passed from TransactionSigner.signTransactiontrue when the script handler has modified the transaction.